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 TypeMethodDescriptionvoidaddConditionalColumn(String name) voidvoidaddSortingColumn(String name, boolean descending) addVariable(Name name) voidvoidorg.apache.spark.sql.types.DataTypegetVariable(Name name) getView()booleanbooleanvoidsetClauseType(FLWOR_CLAUSES clauseType) voidsetExplodedView(boolean isExplodedView) voidsetGrouped(boolean grouped) voidsetResultingQuery(String resultingQuery) voidsetResultingType(SequenceType resultingType) voidvoidsetSchema(org.apache.spark.sql.types.DataType schema) voidtoString()
-
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
-