org.eigenbase.relopt
Interface RelOptSchemaWithSampling
- All Superinterfaces:
- RelOptSchema
- All Known Implementing Classes:
- FarragoPreparingStmt, LucidDbPreparingStmt, SqlToRelTestBase.MockRelOptSchema
public interface RelOptSchemaWithSampling
- extends RelOptSchema
Extension to RelOptSchema
with support for sample datasets.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/relopt/RelOptSchemaWithSampling.java#7 $
- Author:
- jhyde
- See Also:
RelOptConnection
,
RelOptSchema
getTableForMember
RelOptTable getTableForMember(String[] names,
String datasetName,
boolean[] usedDataset)
- Retrieves a
RelOptTable
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