Package org.rumbledb.runtime.flwor
Class NativeClauseContext
java.lang.Object
org.rumbledb.runtime.flwor.NativeClauseContext
This class describes the context of a native clause and is used when processing FLWOR expressions without UDF
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNativeClauseContext
(FLWOR_CLAUSES clauseType, org.apache.spark.sql.types.StructType schema, DynamicContext context) NativeClauseContext
(NativeClauseContext sibling) NativeClauseContext
(NativeClauseContext sibling, String newResultingQuery, SequenceType resultingType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConditionalColumn
(String name) void
void
addSortingColumn
(String name, boolean descending) addVariable
(Name name) void
void
org.apache.spark.sql.types.DataType
getVariable
(Name name) getView()
boolean
boolean
void
setClauseType
(FLWOR_CLAUSES clauseType) void
setExplodedView
(boolean isExplodedView) void
setGrouped
(boolean grouped) void
setResultingQuery
(String resultingQuery) void
setResultingType
(SequenceType resultingType) void
void
setSchema
(org.apache.spark.sql.types.DataType schema) void
toString()
-
Field Details
-
NoNativeQuery
-
-
Constructor Details
-
NativeClauseContext
public NativeClauseContext(FLWOR_CLAUSES clauseType, org.apache.spark.sql.types.StructType schema, DynamicContext context) -
NativeClauseContext
-
NativeClauseContext
public NativeClauseContext(NativeClauseContext sibling, String newResultingQuery, SequenceType resultingType)
-
-
Method Details
-
createChild
-
getClauseType
-
setClauseType
-
setResultingQuery
-
getResultingQuery
-
getSchema
public org.apache.spark.sql.types.DataType getSchema() -
setSchema
public void setSchema(org.apache.spark.sql.types.DataType schema) -
getContext
-
getLateralViewPart
-
getResultingType
-
setResultingType
-
getView
-
setView
-
addConditionalColumn
-
getConditionalColumns
-
addVariable
-
addVariable
-
getVariable
-
setExplodedView
public void setExplodedView(boolean isExplodedView) -
isExplodedView
public boolean isExplodedView() -
addPositionalVariableName
-
getPositionalVariableName
-
getSortingColumns
-
addSortingColumn
-
setRowId
-
getRowIdField
-
clearConditionalColumns
public void clearConditionalColumns() -
clearSortingColumns
public void clearSortingColumns() -
setGrouped
public void setGrouped(boolean grouped) -
isGrouped
public boolean isGrouped() -
toString
-