Package

slick

util

Permalink

package util

Helper code for various things. Tuples, Logging, SQL, ...

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncExecutor extends Closeable

    Permalink

    A connection pool for asynchronous execution of blocking I/O actions.

    A connection pool for asynchronous execution of blocking I/O actions. This is used for the asynchronous query execution API on top of blocking back-ends like JDBC.

  2. trait AsyncExecutorMXBean extends AnyRef

    Permalink

    The information that is exposed by an AsyncExecutor via JMX.

  3. trait CloseableIterator[+T] extends Iterator[T] with Closeable

    Permalink

    An Iterator with a close method to close the underlying data source.

    An Iterator with a close method to close the underlying data source. Implementers must close the data source when hasNext returns false.

  4. final class ConfigExtensionMethods extends AnyVal

    Permalink

    Extension methods to make Typesafe Config easier to use

  5. final class ConstArray[+T] extends Product

    Permalink

    An efficient immutable array implementation which is used in the AST.

    An efficient immutable array implementation which is used in the AST. Semantics are generally the same as for Scala collections but for performance reasons it does not implement any standard collection traits.

  6. final class ConstArrayBuilder[T] extends AnyRef

    Permalink

    A mutable builder for ConstArrays.

  7. trait ConstArrayCompat extends AnyRef

    Permalink
  8. trait ConstArrayOp[+T] extends Any

    Permalink

    A lazy operation on a ConstArray, produced by withFilter, zip, zipWithIndex and ConstArrayOp.from(Range).

  9. case class DumpInfo(name: String, mainInfo: String = "", attrInfo: String = "", children: Iterable[(String, Dumpable)] = Vector.empty) extends Product with Serializable

    Permalink

    The information required for dumping a single object

  10. trait Dumpable extends AnyRef

    Permalink

    Interface for types that can be used in a tree dump

  11. trait Logging extends AnyRef

    Permalink
  12. class MacroSupportInterpolation extends AnyRef

    Permalink
  13. class ManagedArrayBlockingQueue[E >: Null <: PrioritizedRunnable] extends AbstractQueue[E] with BlockingQueue[E] with Logging

    Permalink

    A simplified copy of java.util.concurrent.ArrayBlockingQueue with additional logic for temporarily rejecting elements based on the current size.

    A simplified copy of java.util.concurrent.ArrayBlockingQueue with additional logic for temporarily rejecting elements based on the current size. All features of the original ArrayBlockingQueue have been ported, except the mutation methods of the iterator. See java.util.concurrent.ArrayBlockingQueue for documentation.

    Furthermore this implementation has a pause feature where it does not pass through low- or mid-priority tasks when paused.

  14. final class ProductWrapper extends Product

    Permalink

    A Product to represent larger arities than Tuple22

  15. final class RangeConstArrayOp extends ConstArrayOp[Int]

    Permalink
  16. trait ReadAheadIterator[+T] extends BufferedIterator[T]

    Permalink

    An iterator on top of a data source which does not offer a hasNext() method without doing a next()

  17. final case class RefId[E <: AnyRef](e: E) extends Product with Serializable

    Permalink

    A wrapper for a value, which uses reference equality of the wrapped value as its own equality.

    A wrapper for a value, which uses reference equality of the wrapped value as its own equality. This can be used, for example, to get the equivalent of an IdentityHashMap from a regular HashMap.

  18. final class SQLBuilder extends SQLBuilderCompat

    Permalink
  19. trait SQLBuilderCompat extends AnyRef

    Permalink
  20. final class SlickLogger extends AnyRef

    Permalink
  21. class TableDump extends AnyRef

    Permalink

    Utility methods for creating result set debug output.

  22. case class TreePrinter(name: String = "", prefix: String = "", firstPrefix: String = null, narrow: (Dumpable) ⇒ Dumpable = identity, mark: (Dumpable) ⇒ Boolean = _ => false) extends Product with Serializable

    Permalink

    Create a readable printout of a tree.

Value Members

  1. def ??: Nothing

    Permalink

    Throw an UnsupportedOperationException.

    Throw an UnsupportedOperationException. Like ??? but NonFatal.

  2. object AsyncExecutor extends Logging

    Permalink
  3. object BeanConfigurator extends Logging

    Permalink

    Configure Java Beans reflectively, using Typesafe Config for data type conversions.

  4. object ClassLoaderUtil

    Permalink

    Utilities for working with classloaders

  5. object CloseableIterator

    Permalink
  6. object ConfigExtensionMethods

    Permalink
  7. object ConstArray extends ConstArrayCompat

    Permalink
  8. object ConstArrayOp

    Permalink
  9. object DumpInfo extends Serializable

    Permalink
  10. object Ellipsis

    Permalink

    Create a wrapper for a Dumpable to omit some nodes.

  11. object GlobalConfig

    Permalink

    Singleton object with Slick's configuration, loaded from the application config.

    Singleton object with Slick's configuration, loaded from the application config. This includes configuration for the global profile objects and settings for debug logging.

    In addition to being listed in reference.conf, all essential config options also have their default values hardcoded here because we cannot rely on getting reference.conf on the classpath in all cases (e.g. the tsql macro).

  12. object MacroSupport

    Permalink
  13. object ReadAheadIterator

    Permalink
  14. object SQLBuilder

    Permalink
  15. object SlickLogger

    Permalink
  16. object TreePrinter extends Serializable

    Permalink
  17. object TupleMethods

    Permalink

    Extension methods for prepending and appending values to tuples

  18. object TupleSupport

    Permalink

    Utility functions for working with tuples of different arities

  19. val ignoreFollowOnError: PartialFunction[Throwable, Unit]

    Permalink

    An exception handler which ignores NonFatal exceptions.

    An exception handler which ignores NonFatal exceptions. It is used when running cleanup code inside of another exception handler to prevent an exception during cleanup from overriding the original one.

Inherited from AnyRef

Inherited from Any

Ungrouped