Class PartitionId

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public final class PartitionId
    extends FieldExpression
    The PartitionId field expression returns an integer indicating the partition where a document is indexed.
    See Also:
    Serialized Form
    • Constructor Detail

      • PartitionId

        public PartitionId()
        Construct a new PartitionId.
    • Method Detail

      • hasChildren

        public boolean hasChildren()
        Returns true if this field expression has any sub FieldExpressions.
        Specified by:
        hasChildren in class FieldExpression
      • isConstant

        public boolean isConstant()
        Returns true if this field expression evaluates to a constant value.
        Specified by:
        isConstant in class FieldExpression
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object