Package org.rumbledb.compiler.context
Record Class WindowClauseContext<VarBindingCtx extends org.antlr.v4.runtime.ParserRuleContext,SeqTypeCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprSingleCtx extends org.antlr.v4.runtime.ParserRuleContext>
java.lang.Object
java.lang.Record
org.rumbledb.compiler.context.WindowClauseContext<VarBindingCtx,SeqTypeCtx,ExprSingleCtx>
public record WindowClauseContext<VarBindingCtx extends org.antlr.v4.runtime.ParserRuleContext,SeqTypeCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprSingleCtx extends org.antlr.v4.runtime.ParserRuleContext> (WindowClause.WindowType windowType, VarBindingCtx extends org.antlr.v4.runtime.ParserRuleContext windowVariable, SeqTypeCtx extends org.antlr.v4.runtime.ParserRuleContext seqType, ExprSingleCtx extends org.antlr.v4.runtime.ParserRuleContext expression, WindowConditionContext<VarBindingCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprSingleCtx extends org.antlr.v4.runtime.ParserRuleContext> startCondition, WindowConditionContext<VarBindingCtx extends org.antlr.v4.runtime.ParserRuleContext,ExprSingleCtx extends org.antlr.v4.runtime.ParserRuleContext> endCondition, org.antlr.v4.runtime.ParserRuleContext context)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionWindowClauseContext(WindowClause.WindowType windowType, VarBindingCtx windowVariable, SeqTypeCtx seqType, ExprSingleCtx expression, WindowConditionContext<VarBindingCtx, ExprSingleCtx> startCondition, WindowConditionContext<VarBindingCtx, ExprSingleCtx> endCondition, org.antlr.v4.runtime.ParserRuleContext context) Creates an instance of aWindowClauseContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.antlr.v4.runtime.ParserRuleContextcontext()Returns the value of thecontextrecord component.Returns the value of theendConditionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpressionrecord component.static WindowClauseContext<JsoniqParser.VarBindingContext,JsoniqParser.SequenceTypeContext, JsoniqParser.ExprSingleContext> static WindowClauseContext<JsoniqParser.VarBindingContext,JsoniqParser.SequenceTypeContext, JsoniqParser.ExprSingleContext> static WindowClauseContext<XQueryParser.VarBindingContext,XQueryParser.SequenceTypeContext, XQueryParser.ExprSingleContext> static WindowClauseContext<XQueryParser.VarBindingContext,XQueryParser.SequenceTypeContext, XQueryParser.ExprSingleContext> final inthashCode()Returns a hash code value for this object.seqType()Returns the value of theseqTyperecord component.Returns the value of thestartConditionrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewindowTyperecord component.Returns the value of thewindowVariablerecord component.
-
Constructor Details
-
WindowClauseContext
public WindowClauseContext(WindowClause.WindowType windowType, VarBindingCtx windowVariable, SeqTypeCtx seqType, ExprSingleCtx expression, WindowConditionContext<VarBindingCtx, ExprSingleCtx> startCondition, WindowConditionContext<VarBindingCtx, ExprSingleCtx> endCondition, org.antlr.v4.runtime.ParserRuleContext context) Creates an instance of aWindowClauseContextrecord class.- Parameters:
windowType- the value for thewindowTyperecord componentwindowVariable- the value for thewindowVariablerecord componentseqType- the value for theseqTyperecord componentexpression- the value for theexpressionrecord componentstartCondition- the value for thestartConditionrecord componentendCondition- the value for theendConditionrecord componentcontext- the value for thecontextrecord component
-
-
Method Details
-
from
-
from
-
from
-
from
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
windowType
Returns the value of thewindowTyperecord component.- Returns:
- the value of the
windowTyperecord component
-
windowVariable
Returns the value of thewindowVariablerecord component.- Returns:
- the value of the
windowVariablerecord component
-
seqType
Returns the value of theseqTyperecord component.- Returns:
- the value of the
seqTyperecord component
-
expression
Returns the value of theexpressionrecord component.- Returns:
- the value of the
expressionrecord component
-
startCondition
Returns the value of thestartConditionrecord component.- Returns:
- the value of the
startConditionrecord component
-
endCondition
Returns the value of theendConditionrecord component.- Returns:
- the value of the
endConditionrecord component
-
context
public org.antlr.v4.runtime.ParserRuleContext context()Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-