Class LiteralContext


  • public class LiteralContext
    extends Object
    The LiteralContext class represents a literal in the query.

    This includes both value and type information. We translate thrift literal to this representation in server. Currently, only Boolean literal is correctly encoded in thrift and passed in. All integers are encoded as LONG in thrift, and the other numerical types are encoded as DOUBLE. The remaining types are encoded as STRING.