Package hydra.ext.cypher.features
Class NodePatternFeatures
- java.lang.Object
-
- hydra.ext.cypher.features.NodePatternFeatures
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NodePatternFeatures>
public class NodePatternFeatures extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<NodePatternFeatures>
Node patterns- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameMULTIPLE_LABELSjava.lang.BooleanmultipleLabelsSpecifying multiple labels in a node patternjava.lang.BooleanparameterSpecifying a parameter as part of a node patternstatic NamePARAMETERstatic NamePROPERTY_MAPjava.lang.BooleanpropertyMapSpecifying a key/value map of properties in a node patternstatic NameTYPE_static NameVARIABLE_NODEjava.lang.BooleanvariableNodeBinding a variable to a node in a node pattern (note: included by most if not all implementations).static NameWILDCARD_LABELjava.lang.BooleanwildcardLabelOmitting labels from a node pattern
-
Constructor Summary
Constructors Constructor Description NodePatternFeatures(java.lang.Boolean multipleLabels, java.lang.Boolean parameter, java.lang.Boolean propertyMap, java.lang.Boolean variableNode, java.lang.Boolean wildcardLabel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(NodePatternFeatures other)booleanequals(java.lang.Object other)inthashCode()NodePatternFeatureswithMultipleLabels(java.lang.Boolean multipleLabels)NodePatternFeatureswithParameter(java.lang.Boolean parameter)NodePatternFeatureswithPropertyMap(java.lang.Boolean propertyMap)NodePatternFeatureswithVariableNode(java.lang.Boolean variableNode)NodePatternFeatureswithWildcardLabel(java.lang.Boolean wildcardLabel)
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
-
MULTIPLE_LABELS
public static final Name MULTIPLE_LABELS
-
PARAMETER
public static final Name PARAMETER
-
PROPERTY_MAP
public static final Name PROPERTY_MAP
-
VARIABLE_NODE
public static final Name VARIABLE_NODE
-
WILDCARD_LABEL
public static final Name WILDCARD_LABEL
-
multipleLabels
public final java.lang.Boolean multipleLabels
Specifying multiple labels in a node pattern
-
parameter
public final java.lang.Boolean parameter
Specifying a parameter as part of a node pattern
-
propertyMap
public final java.lang.Boolean propertyMap
Specifying a key/value map of properties in a node pattern
-
variableNode
public final java.lang.Boolean variableNode
Binding a variable to a node in a node pattern (note: included by most if not all implementations).
-
wildcardLabel
public final java.lang.Boolean wildcardLabel
Omitting labels from a node pattern
-
-
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(NodePatternFeatures other)
- Specified by:
compareToin interfacejava.lang.Comparable<NodePatternFeatures>
-
withMultipleLabels
public NodePatternFeatures withMultipleLabels(java.lang.Boolean multipleLabels)
-
withParameter
public NodePatternFeatures withParameter(java.lang.Boolean parameter)
-
withPropertyMap
public NodePatternFeatures withPropertyMap(java.lang.Boolean propertyMap)
-
withVariableNode
public NodePatternFeatures withVariableNode(java.lang.Boolean variableNode)
-
withWildcardLabel
public NodePatternFeatures withWildcardLabel(java.lang.Boolean wildcardLabel)
-
-