slick.util

package slick.util

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

Attributes

Members list

Type members

Classlikes

trait AsyncExecutor extends Closeable

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.

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.

Attributes

Companion
object
Source
AsyncExecutor.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
object AsyncExecutor extends Logging

Attributes

Companion
trait
Source
AsyncExecutor.scala
Supertypes
trait Logging
class Object
trait Matchable
class Any
Self type

The information that is exposed by an AsyncExecutor via JMX.

The information that is exposed by an AsyncExecutor via JMX.

Attributes

Source
AsyncExecutor.scala
Supertypes
class Object
trait Matchable
class Any
object BeanConfigurator extends Logging

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

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

Attributes

Source
BeanConfigurator.scala
Supertypes
trait Logging
class Object
trait Matchable
class Any
Self type

Utilities for working with classloaders

Utilities for working with classloaders

Attributes

Source
ClassLoaderUtil.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait CloseableIterator[+T] extends Iterator[T], Closeable

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

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

Attributes

Companion
object
Source
CloseableIterator.scala
Supertypes
trait Closeable
trait AutoCloseable
trait Iterator[T]
trait IterableOnceOps[T, Iterator, Iterator[T]]
trait IterableOnce[T]
class Object
trait Matchable
class Any
Show all
Known subtypes
class Single[T]
Self type

Attributes

Companion
trait
Source
CloseableIterator.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class ConfigExtensionMethods(val c: Config) extends AnyVal

Extension methods to make Typesafe Config easier to use

Extension methods to make Typesafe Config easier to use

Attributes

Companion
object
Source
GlobalConfig.scala
Supertypes
class AnyVal
trait Matchable
class Any

Attributes

Companion
class
Source
GlobalConfig.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class ConstArray[+T] extends Product

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.

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.

Attributes

Companion
object
Source
ConstArray.scala
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
object ConstArray

Attributes

Companion
class
Source
ConstArray.scala
Supertypes
class Object
trait Matchable
class Any
Self type
ConstArray.type
final class ConstArrayBuilder[T](initialCapacity: Int, growFactor: Double)

A mutable builder for ConstArrays.

A mutable builder for ConstArrays.

Attributes

Source
ConstArray.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait ConstArrayOp[+T]

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

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

Attributes

Companion
object
Source
ConstArray.scala
Supertypes
class Any
Known subtypes
object ConstArrayOp

Attributes

Companion
trait
Source
ConstArray.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class DumpInfo(name: String, mainInfo: String, attrInfo: String, children: Iterable[(String, Dumpable)])

The information required for dumping a single object

The information required for dumping a single object

Attributes

Companion
object
Source
TreePrinter.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DumpInfo

Attributes

Companion
class
Source
TreePrinter.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
DumpInfo.type
trait Dumpable

Interface for types that can be used in a tree dump

Interface for types that can be used in a tree dump

Attributes

Source
TreePrinter.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Node
trait BinaryNode
class Aggregate
class Bind
class Distinct
class Drop
class Filter
class GroupBy
class Insert
class Take
class Union
trait DefNode
class ForUpdate
class SortBy
class Comprehension[Fetch]
class Join
class OptionFold
class StructNode
class InsertColumn
trait NullaryNode
class LiteralNode
class RangeFrom
class Ref
class SequenceNode
class TableNode
class RowNum
class RowNumGen
trait PathElement
class Select
class Apply
class First
class GetOrElse
class IfThenElse
class OptionApply
class ProductNode
class Pure
class RowNumber
class Subquery
class TypeMapping
trait UnaryNode
trait Type
trait AtomicType
trait BaseTypedType[T]
class ScalaBaseType[T]
class ErasedScalaBaseType[T, E]
class ScalaNumericType[T]
trait JdbcType[T]
class DriverJdbcType[T]
class BlobJdbcType
class ByteJdbcType
class CharJdbcType
class ClobJdbcType
class DateJdbcType
class IntJdbcType
class LongJdbcType
class NullJdbcType
class TimeJdbcType
class UUIDJdbcType
class MappedJdbcType[T, U]
class MappedColumnType[T, U]
object UnassignedType.type
class NominalType
trait OptionType
trait OptionTypedType[T]
class ScalaOptionType[T]
class ProductType
class StructType
trait TypedType[T]
trait ScalaType[T]
trait DBIOAction[R, S, E]
class AndThenAction[R, S, E]
class AsTryAction[R, E]
class CleanUpAction[R, S, E]
trait DatabaseAction[R, S, E]
trait BasicAction[R, S, E]
trait BasicStreamingAction[R, T, E]
trait FixedBasicStreamingAction[R, T, E]
class StreamingQueryAction[R, T]
trait SqlStreamingAction[R, T, E]
trait FixedSqlStreamingAction[R, T, E]
trait StreamingInvokerAction[R, T, E]
trait FixedBasicAction[R, S, E]
trait SqlAction[R, S, E]
trait FixedSqlAction[R, S, E]
trait SynchronousDatabaseAction[R, S, C, SC, E]
class SuccessAction[R]
trait Fused[R, S, C, SC, E]
class FusedAndThenAction[R, S, C, SC, E]
class SimpleJdbcAction[R]
class FailedAction[E]
class FlatMapAction[R, S, P, E]
class FutureAction[R]
class NamedAction[R, S, E]
class SequenceAction[R, R2, E]
trait ResultConverter[R, W, U, T]
class CompoundResultConverter[R, W, U, T]
class GetOrElseResultConverter[R, W, U, T]
class IsDefinedResultConverter[R, W, U]
class ProductResultConverter[R, W, U, T]
class SimpleFastPathResultConverter[R, W, U, T]
class TypeMappingResultConverter[R, W, U, T, C]
class UnitResultConverter[R, W, U]
Show all
object Ellipsis

Create a wrapper for a Dumpable to omit some nodes.

Create a wrapper for a Dumpable to omit some nodes.

Attributes

Source
TreePrinter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Ellipsis.type
object GlobalConfig

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

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).

Attributes

Source
GlobalConfig.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
QueryInterpolator.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Logging

Attributes

Source
Logging.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ManagedArrayBlockingQueue(maximumInUse: Int, capacity: Int, fair: Boolean) extends AbstractQueue[PrioritizedRunnable], BlockingQueue[PrioritizedRunnable], Logging

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.

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.

Attributes

Source
ManagedArrayBlockingQueue.scala
Supertypes
trait Logging
trait BlockingQueue[PrioritizedRunnable]
class AbstractQueue[PrioritizedRunnable]
trait Queue[PrioritizedRunnable]
class AbstractCollection[PrioritizedRunnable]
trait Collection[PrioritizedRunnable]
trait Iterable[PrioritizedRunnable]
class Object
trait Matchable
class Any
Show all
Self type
final class ProductWrapper(val seq: IndexedSeq[Any]) extends Product

A Product to represent larger arities than Tuple22

A Product to represent larger arities than Tuple22

Attributes

Source
TupleSupport.scala
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
QueryInterpolator.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class QueryInterpolator(context: StringContext)

Attributes

Companion
object
Source
QueryInterpolator.scala
Supertypes
class Object
trait Matchable
class Any
final class RangeConstArrayOp(val r: Range) extends ConstArrayOp[Int]

Attributes

Source
ConstArray.scala
Supertypes
trait ConstArrayOp[Int]
class Object
trait Matchable
class Any
trait ReadAheadIterator[+T] extends BufferedIterator[T]

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

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

Attributes

Source
ReadAheadIterator.scala
Supertypes
trait BufferedIterator[T]
trait Iterator[T]
trait IterableOnceOps[T, Iterator, Iterator[T]]
trait IterableOnce[T]
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class RefId[E <: AnyRef](e: E)

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.

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.

Attributes

Source
RefId.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class SQLBuilder

Attributes

Companion
object
Source
SQLBuilder.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object SQLBuilder

Attributes

Companion
class
Source
SQLBuilder.scala
Supertypes
class Object
trait Matchable
class Any
Self type
SQLBuilder.type
final class SlickLogger(val slf4jLogger: Logger)

Attributes

Companion
object
Source
Logging.scala
Supertypes
class Object
trait Matchable
class Any
object SlickLogger

Attributes

Companion
class
Source
Logging.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class TableDump(maxColumnWidth: Int)

Utility methods for creating result set debug output.

Utility methods for creating result set debug output.

Attributes

Source
TableDump.scala
Supertypes
class Object
trait Matchable
class Any
case class TreePrinter(name: String, prefix: String, firstPrefix: String, narrow: Dumpable => Dumpable, mark: Dumpable => Boolean)

Create a readable printout of a tree.

Create a readable printout of a tree.

Attributes

Companion
object
Source
TreePrinter.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object TreePrinter

Attributes

Companion
class
Source
TreePrinter.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object TupleMethods

Extension methods for prepending and appending values to tuples

Extension methods for prepending and appending values to tuples

Attributes

Source
TupleSupport.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object TupleSupport

Utility functions for working with tuples of different arities

Utility functions for working with tuples of different arities

Attributes

Source
TupleSupport.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def ??: Nothing

Throw an UnsupportedOperationException. Like ??? but NonFatal.

Throw an UnsupportedOperationException. Like ??? but NonFatal.

Attributes

Source
package.scala

Concrete fields

val ignoreFollowOnError: PartialFunction[Throwable, Unit]

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.

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.

Attributes

Source
package.scala