Package org.apache.calcite.plan
Interface RelOptSchemaWithSampling
-
- All Superinterfaces:
RelOptSchema
public interface RelOptSchemaWithSampling extends RelOptSchema
Extension toRelOptSchema
with support for sample data-sets.- See Also:
RelOptSchema
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RelOptTable
getTableForMember(java.util.List<java.lang.String> names, java.lang.String datasetName, boolean[] usedDataset)
Retrieves aRelOptTable
based upon a member access, using a sample dataset if it exists.-
Methods inherited from interface org.apache.calcite.plan.RelOptSchema
getTableForMember, getTypeFactory, registerRules
-
-
-
-
Method Detail
-
getTableForMember
RelOptTable getTableForMember(java.util.List<java.lang.String> names, java.lang.String datasetName, boolean[] usedDataset)
Retrieves aRelOptTable
based upon a member access, using a sample dataset if it exists.- Parameters:
names
- Compound name of tabledatasetName
- Name of sample dataset to substitute, if it exists; null to not look for a sampleusedDataset
- Output parameter which is set to true if a sample dataset is found; may be null- Returns:
- Table, or null if not found
-
-