org.apache.olingo.server.api.uri.queryoption.expression

## Interface Literal

- All Superinterfaces:
    Expression, VisitableExpression

      public interface Literal
      extends Expression

  Represents a literal expression node in the expression tree Literal is not validated by default

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getText()`
    `EdmType` | `getType()` Numeric literals without an dot and without an e return the smallest possible Edm Integer type.

    - ### Methods inherited from interface org.apache.olingo.server.api.uri.queryoption.expression.VisitableExpression

      `accept`

- - ### Method Detail

    - #### getText

          String getText()

      Returns:
        Literal

    - #### getType

          EdmType getType()

      Numeric literals without an dot and without an e return the smallest possible Edm Integer type. Numeric literals without an dot, without an e and larger than 2^63 - 1 are considered as Edm.Decimal Numeric literals with an e, are considered to be Edm.Double Numeric literals with an dot and without an e, are supposed to be Edm.Decimal
      Returns:
        Type of the literal if detected. The type of the literal is guessed by the parser.

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.