Class LongExpression

    • Constructor Detail

      • LongExpression

        public LongExpression​(String metadata,
                              Expression.Operator operator,
                              long value)
        Creates the comparison Expression.
        Parameters:
        metadata - the metadata name
        operator - the operator to make the comparison
        value - the long value
      • LongExpression

        public LongExpression​(String metadata,
                              Expression.Operator operator,
                              long value,
                              boolean unversioned)
        Creates the comparison Expression.
        Parameters:
        metadata - the metadata name
        operator - the operator to make the comparison
        value - the long value
        unversioned - true if the metadata is unversioned, false otherwise.
    • Method Detail

      • build

        public String build()
        Description copied from interface: Expression
        Build the expression.
        Specified by:
        build in interface Expression
        Returns:
        The XPath view of the expression.