io.snappydata.util.StringUtils

SnappyInterpolator

implicit final class SnappyInterpolator extends AnyVal

Defines a few String Interpolators. Interpolators are things like the built-in s"Hello $name", where the "s" interpolator plugs in the value of the s variable.

To use any of these interpolators, you must use this include: import io.snappydata.util.StringUtils._

TODO: Add some more, e.g., loginfo that prepends Thread name, pid, etc.?

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SnappyInterpolator
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SnappyInterpolator(sc: StringContext)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  7. def pn(args: Any*): String

    The pn string interpolator "pretty numbers" prints numbers using the default number format (i.

    The pn string interpolator "pretty numbers" prints numbers using the default number format (i.e., it automatically puts in commas (thousands separator)).

    Usage: val x = 1001; println( pn"$x" ) // prints "1,001"

  8. val sc: StringContext

  9. def ti(args: Any*): String

    Prepends a string with the name of the current thread, and processes the rest of the string as if with s".

    Prepends a string with the name of the current thread, and processes the rest of the string as if with s"..."

  10. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped