public class HttpGroupScan extends AbstractGroupScan
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
ALL_COLUMNS
Constructor and Description |
---|
HttpGroupScan(HttpGroupScan that)
Copies the group scan during many stages of Calcite operation.
|
HttpGroupScan(HttpGroupScan that,
int maxRecords)
Adds a limit to the scan.
|
HttpGroupScan(HttpGroupScan that,
List<SchemaPath> columns)
Applies columns.
|
HttpGroupScan(HttpGroupScan that,
Map<String,String> filters,
double filterSelectivity)
Adds a filter to the scan.
|
HttpGroupScan(HttpScanSpec scanSpec)
Creates a new group scan from the storage plugin.
|
HttpGroupScan(List<SchemaPath> columns,
HttpScanSpec httpScanSpec,
Map<String,String> filters,
double selectivity,
int maxRecords)
Deserialize a group scan.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsFilters() |
void |
applyAssignments(List<CoordinationProtos.DrillbitEndpoint> endpoints) |
GroupScan |
applyLimit(int maxRecords)
By default, return null to indicate row count based prune is not supported.
|
boolean |
canPushdownProjects(List<SchemaPath> columns)
GroupScan should check the list of columns, and see if it could support all the columns in the list.
|
GroupScan |
clone(List<SchemaPath> columns)
Returns a clone of GroupScan instance, except that the new GroupScan will use the provided list of columns .
|
List<SchemaPath> |
columns() |
boolean |
equals(Object obj) |
Map<String,String> |
filters() |
String |
getDigest()
Returns a signature of the
GroupScan which should usually be composed of
all its attributes which could describe it uniquely. |
HttpApiConfig |
getHttpConfig() |
int |
getMaxParallelizationWidth() |
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
ScanStats |
getScanStats() |
SubScan |
getSpecificScan(int minorFragmentId) |
boolean |
hasFilters() |
int |
hashCode() |
HttpScanSpec |
httpScanSpec() |
int |
maxRecords() |
double |
selectivity() |
boolean |
supportsLimitPushdown()
Default is not to support limit pushdown.
|
String |
toString() |
accept, applyFilter, enforceWidth, getAnalyzeInfoProvider, getColumns, getColumnValueCount, getDistributionAffinity, getFiles, getFilter, getInitialAllocation, getMaxAllocation, getMetadataProvider, getMinParallelizationWidth, getOperatorAffinity, getOperatorType, getPartitionColumns, getScanStats, getScanStats, getSelectionRoot, getTableMetadata, hasFiles, isDistributed, isExecutable, iterator, supportsFilterPushDown, supportsPartitionFilterPushdown, usedMetastore
accept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
accept
forEach, spliterator
public HttpGroupScan(HttpScanSpec scanSpec)
public HttpGroupScan(HttpGroupScan that)
public HttpGroupScan(HttpGroupScan that, List<SchemaPath> columns)
public HttpGroupScan(HttpGroupScan that, Map<String,String> filters, double filterSelectivity)
public HttpGroupScan(HttpGroupScan that, int maxRecords)
public HttpGroupScan(List<SchemaPath> columns, HttpScanSpec httpScanSpec, Map<String,String> filters, double selectivity, int maxRecords)
public List<SchemaPath> columns()
public HttpScanSpec httpScanSpec()
public double selectivity()
public void applyAssignments(List<CoordinationProtos.DrillbitEndpoint> endpoints)
public int getMaxParallelizationWidth()
public boolean canPushdownProjects(List<SchemaPath> columns)
GroupScan
canPushdownProjects
in interface GroupScan
canPushdownProjects
in class AbstractGroupScan
public HttpApiConfig getHttpConfig()
public SubScan getSpecificScan(int minorFragmentId)
public GroupScan clone(List<SchemaPath> columns)
GroupScan
clone
in interface GroupScan
clone
in class AbstractGroupScan
public String getDigest()
GroupScan
GroupScan
which should usually be composed of
all its attributes which could describe it uniquely.public int maxRecords()
public PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperator
public ScanStats getScanStats()
getScanStats
in class AbstractGroupScan
public boolean hasFilters()
public boolean supportsLimitPushdown()
AbstractGroupScan
supportsLimitPushdown
in interface GroupScan
supportsLimitPushdown
in class AbstractGroupScan
public GroupScan applyLimit(int maxRecords)
AbstractGroupScan
applyLimit
in interface GroupScan
applyLimit
in class AbstractGroupScan
maxRecords
- : the number of rows requested from group scan.public boolean allowsFilters()
Copyright © 1970 The Apache Software Foundation. All rights reserved.