Class

mimir.algebra

NullPrimitive

Related Doc: package algebra

Permalink

case class NullPrimitive() extends PrimitiveValue with Product with Serializable

Boxed representation of NULL

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

Instance Constructors

  1. new NullPrimitive()

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(other: Expression): Expression

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

    Permalink
    Definition Classes
    ExpressionConstructors
  6. 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
    NullPrimitivePrimitiveValue
  7. 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
    NullPrimitivePrimitiveValue
  8. 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
    NullPrimitivePrimitiveValue
  9. 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
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. 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
  12. 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
    NullPrimitivePrimitiveValue
  13. 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
    NullPrimitivePrimitiveValue
  14. 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
    NullPrimitivePrimitiveValue
  15. def bitAnd(other: Expression): Expression

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

    Permalink
    Definition Classes
    ExpressionConstructors
  17. 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
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def div(other: Expression): Expression

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ExpressionConstructors
  34. def in(other: Seq[Expression]): Expression

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

    Permalink
    Definition Classes
    Any
  36. def isNull: Expression

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

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

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

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

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

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

    Permalink
    Definition Classes
    ExpressionConstructors
  43. def mult(other: Expression): Expression

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

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

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

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

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

    Permalink
    Definition Classes
    ExpressionConstructors
  49. def not: Expression

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

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

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

    Permalink
    Definition Classes
    ExpressionConstructors
  53. 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
    NullPrimitivePrimitiveValue
  54. 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
  55. 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
  56. def shiftLeft(other: Expression): Expression

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

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

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

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

    Permalink
    Definition Classes
    ExpressionConstructors
  61. def toExpression: Expression

    Permalink

    Return this

    Return this

    Definition Classes
    ExpressionExpressionConstructors
  62. def toString(): String

    Permalink
    Definition Classes
    NullPrimitive → AnyRef → Any
  63. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

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