Interface RelOptSchemaWithSampling

All Superinterfaces:
RelOptSchema

public interface RelOptSchemaWithSampling extends RelOptSchema
Extension to RelOptSchema with support for sample data-sets.
See Also:
  • Method Details

    • getTableForMember

      @Nullable RelOptTable getTableForMember(List<String> names, @Nullable String datasetName, boolean @Nullable [] usedDataset)
      Retrieves a RelOptTable based upon a member access, using a sample dataset if it exists.
      Parameters:
      names - Compound name of table
      datasetName - Name of sample dataset to substitute, if it exists; null to not look for a sample
      usedDataset - Output parameter which is set to true if a sample dataset is found; may be null
      Returns:
      Table, or null if not found