public class ProcessGroupStatusTable
extends org.apache.calcite.schema.impl.AbstractTable
implements org.apache.calcite.schema.QueryableTable, org.apache.calcite.schema.TranslatableTable
| Modifier and Type | Field and Description |
|---|---|
private ReportingContext |
context |
private Set<ProcessGroupStatusEnumerator> |
enumerators |
private ComponentLog |
logger |
private int |
maxRecordsRead |
private org.apache.calcite.rel.type.RelDataType |
relDataType |
| Constructor and Description |
|---|
ProcessGroupStatusTable(ReportingContext context,
ComponentLog logger)
Creates a ProcessGroup Status table.
|
| Modifier and Type | Method and Description |
|---|---|
<T> org.apache.calcite.linq4j.Queryable<T> |
asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider,
org.apache.calcite.schema.SchemaPlus schema,
String tableName) |
void |
close() |
Type |
getElementType() |
org.apache.calcite.linq4j.tree.Expression |
getExpression(org.apache.calcite.schema.SchemaPlus schema,
String tableName,
Class clazz) |
org.apache.calcite.schema.Schema.TableType |
getJdbcTableType() |
int |
getRecordsRead() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
org.apache.calcite.linq4j.Enumerable<Object> |
project(int[] fields)
Returns an enumerable over a given projection of the fields.
|
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
String |
toString() |
getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrapprivate final ComponentLog logger
private org.apache.calcite.rel.type.RelDataType relDataType
private volatile ReportingContext context
private volatile int maxRecordsRead
private final Set<ProcessGroupStatusEnumerator> enumerators
public ProcessGroupStatusTable(ReportingContext context, ComponentLog logger)
public void close()
public org.apache.calcite.linq4j.Enumerable<Object> project(int[] fields)
Called from generated code.
public int getRecordsRead()
public org.apache.calcite.linq4j.tree.Expression getExpression(org.apache.calcite.schema.SchemaPlus schema,
String tableName,
Class clazz)
getExpression in interface org.apache.calcite.schema.QueryableTablepublic Type getElementType()
getElementType in interface org.apache.calcite.schema.QueryableTablepublic <T> org.apache.calcite.linq4j.Queryable<T> asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider,
org.apache.calcite.schema.SchemaPlus schema,
String tableName)
asQueryable in interface org.apache.calcite.schema.QueryableTablepublic org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable)
toRel in interface org.apache.calcite.schema.TranslatableTablepublic org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType in interface org.apache.calcite.schema.Tablepublic org.apache.calcite.schema.Schema.TableType getJdbcTableType()
getJdbcTableType in interface org.apache.calcite.schema.TablegetJdbcTableType in class org.apache.calcite.schema.impl.AbstractTableCopyright © 2022 Apache NiFi Project. All rights reserved.