Packages

package util

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

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

Type Members

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

    An Iterator with a close method to close the underlying resources.

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

  2. final class ConfigExtensionMethods extends AnyVal

    Extension methods to make Typesafe Config easier to use

  3. final class ConstArray[+T] extends Product

    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.

  4. final class ConstArrayBuilder[T] extends AnyRef

    A mutable builder for ConstArrays.

  5. trait ConstArrayOp[+T] extends Any

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

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

    The information required for dumping a single object

  7. trait Dumpable extends AnyRef

    Interface for types that can be used in a tree dump

  8. trait InterpolationContext extends AnyRef
  9. trait Logging extends AnyRef
  10. final class ProductWrapper extends Product

    A Product to represent larger arities than Tuple22

  11. class QueryInterpolator extends AnyRef
  12. final class RangeConstArrayOp extends ConstArrayOp[Int]
  13. 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()

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

    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.

  15. final class SQLBuilder extends AnyRef
  16. final class SlickLogger extends AnyRef
  17. class TableDump extends AnyRef

    Utility methods for creating result set debug output.

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

    Create a readable printout of a tree.

Value Members

  1. def ??: Nothing

    Throw an UnsupportedOperationException.

    Throw an UnsupportedOperationException. Like ??? but NonFatal.

  2. val ignoreFollowOnError: PartialFunction[Throwable, Unit]

    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.

  3. object BeanConfigurator extends Logging

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

  4. object ClassLoaderUtil

    Utilities for working with classloaders

  5. object CloseableIterator
  6. object ConfigExtensionMethods
  7. object ConstArray
  8. object ConstArrayOp
  9. object DumpInfo extends Serializable
  10. object Ellipsis

    Create a wrapper for a Dumpable to omit some nodes.

  11. object GlobalConfig

    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 QueryInterpolator
  13. object SQLBuilder
  14. object SlickLogger
  15. object TreePrinter extends Serializable
  16. object TupleMethods

    Extension methods for prepending and appending values to tuples

  17. object TupleSupport

    Utility functions for working with tuples of different arities

Inherited from AnyRef

Inherited from Any

Ungrouped