Class NestedProjectionItem

  • All Implemented Interfaces:
    Node

    public class NestedProjectionItem
    extends SimpleNode
    • Field Detail

      • exclude

        protected boolean exclude
      • star

        protected boolean star
      • rightWildcard

        protected boolean rightWildcard
    • Constructor Detail

      • NestedProjectionItem

        public NestedProjectionItem​(int id)
      • NestedProjectionItem

        public NestedProjectionItem​(SqlParser p,
                                    int id)
    • Method Detail

      • matches

        public boolean matches​(String propertyName)
        given a property name, calculates if this property name matches this nested projection item, eg.
        • this is a *, so it matches any property name
        • the field name for this projection item is the same as the input property name
        • this item has a wildcard and the partial field is a prefix of the input property name
        Parameters:
        propertyName -
        Returns:
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • serialize

        public Result serialize()
      • deserialize

        public void deserialize​(Result fromResult)