Package openGql.grammar
Class GraphPatternBindingTable
- java.lang.Object
-
- openGql.grammar.GraphPatternBindingTable
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GraphPatternBindingTable>
public class GraphPatternBindingTable extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<GraphPatternBindingTable>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description GraphPatternpatternstatic NamePATTERNName of theopenGql.grammar.GraphPatternBindingTable.patternfield.static NameTYPE_Name of theopenGql.grammar.GraphPatternBindingTabletype.static NameYIELD_CLAUSEName of theopenGql.grammar.GraphPatternBindingTable.yieldClausefield.Optional<GraphPatternYieldItemList>yieldClause
-
Constructor Summary
Constructors Constructor Description GraphPatternBindingTable(GraphPattern pattern, Optional<GraphPatternYieldItemList> yieldClause)Constructs an immutableGraphPatternBindingTable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(GraphPatternBindingTable other)booleanequals(java.lang.Object other)inthashCode()GraphPatternBindingTablewithPattern(GraphPattern pattern)Returns a copy of thisGraphPatternBindingTablewithpatternreplaced.GraphPatternBindingTablewithYieldClause(Optional<GraphPatternYieldItemList> yieldClause)Returns a copy of thisGraphPatternBindingTablewithyieldClausereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.GraphPatternBindingTabletype.
-
PATTERN
public static final Name PATTERN
Name of theopenGql.grammar.GraphPatternBindingTable.patternfield.
-
YIELD_CLAUSE
public static final Name YIELD_CLAUSE
Name of theopenGql.grammar.GraphPatternBindingTable.yieldClausefield.
-
pattern
public final GraphPattern pattern
-
yieldClause
public final Optional<GraphPatternYieldItemList> yieldClause
-
-
Constructor Detail
-
GraphPatternBindingTable
public GraphPatternBindingTable(GraphPattern pattern, Optional<GraphPatternYieldItemList> yieldClause)
Constructs an immutableGraphPatternBindingTable.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(GraphPatternBindingTable other)
- Specified by:
compareToin interfacejava.lang.Comparable<GraphPatternBindingTable>
-
withPattern
public GraphPatternBindingTable withPattern(GraphPattern pattern)
Returns a copy of thisGraphPatternBindingTablewithpatternreplaced.
-
withYieldClause
public GraphPatternBindingTable withYieldClause(Optional<GraphPatternYieldItemList> yieldClause)
Returns a copy of thisGraphPatternBindingTablewithyieldClausereplaced.
-
-