Record Class ScmCollect
java.lang.Object
java.lang.Record
org.impulsegraph.compiler.ast.ScmCollect
- All Implemented Interfaces:
ImpScmNode
Result collection step (BITSET, VECTOR, LIST, SCALAR, DISTINCT).
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionScmCollect(ScmCollect.Format format) Creates an instance of aScmCollectrecord class. -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(ImpScmVisitor<R> visitor) static ScmCollectbitset()static ScmCollectcount()static ScmCollectdistinct()final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.static ScmCollectkeys()static ScmCollectlist()static ScmCollectscalar()final StringtoString()Returns a string representation of this record class.static ScmCollectvalueMap()static ScmCollectvector()
-
Constructor Details
-
ScmCollect
Creates an instance of aScmCollectrecord class.- Parameters:
format- the value for theformatrecord component
-
-
Method Details
-
bitset
-
vector
-
list
-
scalar
-
count
-
distinct
-
keys
-
valueMap
-
toScmString
- Specified by:
toScmStringin interfaceImpScmNode
-
accept
- Specified by:
acceptin interfaceImpScmNode
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-