Package org.apache.calcite.test
Class ReflectiveSchemaWithoutRowCount
java.lang.Object
org.apache.calcite.schema.impl.AbstractSchema
org.apache.calcite.adapter.java.ReflectiveSchema
org.apache.calcite.test.ReflectiveSchemaWithoutRowCount
- All Implemented Interfaces:
Schema
A ReflectiveSchema that does not return row count statistics.
Intended to be used with tests written before row count statistics were supported
by ReflectiveSchema that rely on legacy behavior.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.adapter.java.ReflectiveSchema
ReflectiveSchema.Factory
Nested classes/interfaces inherited from interface org.apache.calcite.schema.Schema
Schema.TableType
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.calcite.adapter.java.ReflectiveSchema
getFunctionMultimap, getTableMap, getTarget, toString
Methods inherited from class org.apache.calcite.schema.impl.AbstractSchema
getExpression, getFunctionNames, getFunctions, getSubSchema, getSubSchemaMap, getSubSchemaNames, getTable, getTableNames, getType, getTypeMap, getTypeNames, isMutable, snapshot
-
Constructor Details
-
ReflectiveSchemaWithoutRowCount
Creates a ReflectiveSchema.- Parameters:
target
- Object whose fields will be sub-objects of the schema
-
-
Method Details
-
getRowCount
- Overrides:
getRowCount
in classReflectiveSchema
-