Class

mimir.algebra

TimestampPrimitive

Related Doc: package algebra

Permalink

case class TimestampPrimitive(y: Int, m: Int, d: Int, hh: Int, mm: Int, ss: Int, ms: Int) extends PrimitiveValue with Comparable[TimestampPrimitive] with Product with Serializable

Boxed Representation of Timestamp

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Comparable[TimestampPrimitive], PrimitiveValue, Serializable, Serializable, LeafExpression, Expression, ExpressionConstructors, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimestampPrimitive
  2. Product
  3. Equals
  4. Comparable
  5. PrimitiveValue
  6. Serializable
  7. Serializable
  8. LeafExpression
  9. Expression
  10. ExpressionConstructors
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimestampPrimitive(y: Int, m: Int, d: Int, hh: Int, mm: Int, ss: Int, ms: Int)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <(c: TimestampPrimitive): Boolean

    Permalink
  4. def <=(c: TimestampPrimitive): Boolean

    Permalink
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >(c: TimestampPrimitive): Boolean

    Permalink
  7. def >=(c: TimestampPrimitive): Boolean

    Permalink
  8. def add(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  9. def and(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  10. def asBool: Boolean

    Permalink

    Convert the current object into a boolean or throw a TypeException if not possible

    Convert the current object into a boolean or throw a TypeException if not possible

    Definition Classes
    TimestampPrimitivePrimitiveValue
  11. def asDateTime: DateTime

    Permalink

    Convert the current object into a DateTime or throw a TypeException if not possible

    Convert the current object into a DateTime or throw a TypeException if not possible

    Definition Classes
    TimestampPrimitivePrimitiveValue
  12. def asDouble: Double

    Permalink

    Convert the current object into a double or throw a TypeException if not possible

    Convert the current object into a double or throw a TypeException if not possible

    Definition Classes
    TimestampPrimitivePrimitiveValue
  13. def asFloat: Float

    Permalink

    Convert the current object into a float or throw a TypeException if not possible

    Convert the current object into a float or throw a TypeException if not possible

    Definition Classes
    PrimitiveValue
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def asInt: Int

    Permalink

    Convert the current object into an int or throw a TypeException if not possible

    Convert the current object into an int or throw a TypeException if not possible

    Definition Classes
    PrimitiveValue
  16. def asInterval: Period

    Permalink

    return the contents of the variable as just an object.

    return the contents of the variable as just an object.

    Definition Classes
    TimestampPrimitivePrimitiveValue
  17. def asLong: Long

    Permalink

    Convert the current object into a long or throw a TypeException if not possible

    Convert the current object into a long or throw a TypeException if not possible

    Definition Classes
    TimestampPrimitivePrimitiveValue
  18. def asString: String

    Permalink

    Convert the current object into a string or throw a TypeException if not possible.

    Convert the current object into a string or throw a TypeException if not possible. Note the difference between this and toString. asString returns the content, while toString returns a representation of the primitive value itself. An overt example of this is: val temp = StringPrimitive('foo') println(temp.asString) // Returns "foo" println(temp.toString) // Returns "'foo'" Note the extra quotes. If you ever see a problem involving strings with too many nested quotes, your problem is probably with asString

    Definition Classes
    TimestampPrimitivePrimitiveValue
  19. def bitAnd(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  20. def bitOr(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  21. def children: List[Expression]

    Permalink

    Return all of the children of the current tree node

    Return all of the children of the current tree node

    Definition Classes
    LeafExpressionExpression
  22. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def compareTo(c: TimestampPrimitive): Int

    Permalink
    Definition Classes
    TimestampPrimitive → Comparable
  24. val d: Int

    Permalink
  25. def div(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  26. def eq(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  27. def eq(other: Double): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  28. def eq(other: Int): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  29. def eq(other: String): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  30. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  33. def getType: Type

    Permalink
    Definition Classes
    PrimitiveValue
  34. def gt(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  35. def gt(other: Double): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  36. def gt(other: Long): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  37. def gte(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  38. def gte(other: Double): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  39. def gte(other: Long): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  40. val hh: Int

    Permalink
  41. def in(other: Seq[Expression]): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  42. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  43. def isNull: Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  44. def lt(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  45. def lt(other: Double): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  46. def lt(other: Long): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  47. def lte(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  48. def lte(other: Double): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  49. def lte(other: Long): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  50. val m: Int

    Permalink
  51. val mm: Int

    Permalink
  52. val ms: Int

    Permalink
  53. def mult(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  54. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  55. def neq(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  56. def neq(other: Double): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  57. def neq(other: Int): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  58. def neq(other: String): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  59. def not: Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  60. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  61. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  62. def or(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  63. def payload: AnyRef

    Permalink

    return the contents of the variable as just an object.

    return the contents of the variable as just an object.

    Definition Classes
    TimestampPrimitivePrimitiveValue
  64. def rebuild(c: Seq[Expression]): Expression

    Permalink

    Return a new instance of the same object, but with the children replaced with the provided list.

    Return a new instance of the same object, but with the children replaced with the provided list. The list must be of the same size returned by children. This is mostly to facilitate recur, below

    Definition Classes
    LeafExpressionExpression
  65. def recur(f: (Expression) ⇒ Expression): Expression

    Permalink

    Perform a recursive rewrite.

    Perform a recursive rewrite. The following pattern is pretty common throughout Mimir: def replaceFooWithBar(e:Expression): Expression = e match { case Foo(a, b, c, ...) => Bar(a, b, c, ...) case _ => e.recur(replaceFooWithBar(_)) } Note how specific rewrites are applied to specific patterns in the tree, and recur is used to ignore/descend through every other class of object

    Definition Classes
    Expression
  66. def shiftLeft(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  67. def shiftRight(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  68. val ss: Int

    Permalink
  69. def sub(other: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  70. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  71. def thenElse(thenClause: Expression)(elseClause: Expression): Expression

    Permalink
    Definition Classes
    ExpressionConstructors
  72. def toExpression: Expression

    Permalink

    Return this

    Return this

    Definition Classes
    ExpressionExpressionConstructors
  73. def toString(): String

    Permalink
    Definition Classes
    TimestampPrimitive → AnyRef → Any
  74. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. val y: Int

    Permalink

Inherited from Product

Inherited from Equals

Inherited from Comparable[TimestampPrimitive]

Inherited from PrimitiveValue

Inherited from Serializable

Inherited from Serializable

Inherited from LeafExpression

Inherited from Expression

Inherited from ExpressionConstructors

Inherited from AnyRef

Inherited from Any

Ungrouped