Package | Description |
---|---|
io.cdap.cdap.etl.api.engine.sql | |
io.cdap.cdap.etl.api.engine.sql.request | |
io.cdap.cdap.etl.api.relational |
Modifier and Type | Method and Description |
---|---|
default Relation |
SQLEngine.getRelation(SQLRelationDefinition relationDefinition)
Prepares Relational plugin input based on provided descripton and dataset supplier.
|
Modifier and Type | Method and Description |
---|---|
Relation |
SQLTransformRequest.getOutputRelation() |
Relation |
SQLTransformDefinition.getOutputRelation() |
Modifier and Type | Method and Description |
---|---|
Map<String,Relation> |
SQLTransformDefinition.getOutputRelations() |
Constructor and Description |
---|
SQLTransformDefinition(String outputDatasetName,
Relation outputRelation,
io.cdap.cdap.api.data.schema.Schema outputSchema,
Map<String,Relation> outputRelations,
Map<String,io.cdap.cdap.api.data.schema.Schema> outputSchemas) |
SQLTransformRequest(Map<String,SQLDataset> inputDataSets,
String outputDatasetName,
Relation outputRelation,
io.cdap.cdap.api.data.schema.Schema outputDataSetSchema) |
Constructor and Description |
---|
SQLTransformDefinition(String outputDatasetName,
Relation outputRelation,
io.cdap.cdap.api.data.schema.Schema outputSchema,
Map<String,Relation> outputRelations,
Map<String,io.cdap.cdap.api.data.schema.Schema> outputSchemas) |
Modifier and Type | Class and Description |
---|---|
class |
InvalidRelation |
Modifier and Type | Method and Description |
---|---|
Relation |
InvalidRelation.deduplicate(DeduplicateAggregationDefinition aggregationDefinition) |
default Relation |
Relation.deduplicate(DeduplicateAggregationDefinition aggregationDefinition)
Allows to perform a deduplicate operation based on an aggregation definition.
|
Relation |
InvalidRelation.dropColumn(String s) |
Relation |
Relation.dropColumn(String column)
Allows to drop existing column on a relation.
|
Relation |
InvalidRelation.filter(Expression expression) |
Relation |
Relation.filter(Expression filter)
Allows to filter relation rows based on a boolean expression
|
Relation |
RelationalTranformContext.getInputRelation(String inputStage)
Gets the relation corresponding to the given input.
|
Relation |
InvalidRelation.groupBy(GroupByAggregationDefinition aggregationDefinition) |
default Relation |
Relation.groupBy(GroupByAggregationDefinition aggregationDefinition)
Allows to perform a group by based on an aggregation definition.
|
Relation |
InvalidRelation.select(Map<String,Expression> map) |
Relation |
Relation.select(Map<String,Expression> columns)
Allows to completely replace set of column with a new one.
|
Relation |
InvalidRelation.setColumn(String s,
Expression expression) |
Relation |
Relation.setColumn(String column,
Expression value)
Allows to add or replace column for a relation.
|
default Relation |
ExpressionFactory.setDataSetAlias(Relation dataSet,
String alias)
Allows to set an alias for dataset that can be used for unqualified dataset and column
references.
|
Relation |
LinearRelationalTransform.transform(RelationalTranformContext context,
Relation input)
This call will be done for every suitable engine until after supported tranformation is
declared or there is no more engines left.
|
Relation |
InvalidRelation.window(WindowAggregationDefinition aggregationDefinition) |
default Relation |
Relation.window(WindowAggregationDefinition aggregationDefinition)
Allows to perform a window operation based on an aggregation definition.
|
Modifier and Type | Method and Description |
---|---|
default Expression |
ExpressionFactory.compile(T expression,
Relation relation)
Compiles expression into language-independent form taking the input relation into account.
|
default ExtractableExpression<T> |
ExpressionFactory.getQualifiedColumnName(Relation dataSet,
String column)
Provides fully qualified column name to be used in expressions for a given dataset column.
|
default ExtractableExpression<T> |
ExpressionFactory.getQualifiedDataSetName(Relation dataSet)
Provides fully qualified name to be used in expressions for a given dataset.
|
default Relation |
ExpressionFactory.setDataSetAlias(Relation dataSet,
String alias)
Allows to set an alias for dataset that can be used for unqualified dataset and column
references.
|
void |
RelationalTranformContext.setOutputRelation(Relation outputRelation)
Sets the primary output relation for the transform.
|
void |
RelationalTranformContext.setOutputRelation(String portName,
Relation outputDataSet)
Sets the output relation corresponding to an output stage.
|
Relation |
LinearRelationalTransform.transform(RelationalTranformContext context,
Relation input)
This call will be done for every suitable engine until after supported tranformation is
declared or there is no more engines left.
|
Copyright © 2023 Cask Data, Inc. Licensed under the Apache License, Version 2.0.