Package org.apache.calcite.schema
Interface Wrapper
- All Known Subinterfaces:
Context
,Prepare.CatalogReader
,Prepare.PreparingTable
,RelOptTable
,SqlValidatorCatalogReader
,SqlValidatorTable
- All Known Implementing Classes:
AbstractModifiableTable
,AbstractModifiableView
,AbstractQueryableTable
,AbstractTable
,ArrowTable
,CalciteCatalogReader
,CassandraTable
,CsvFilterableTable
,CsvScannableTable
,CsvStreamScannableTable
,CsvTable
,CsvTable
,CsvTranslatableTable
,CsvTranslatableTable
,DelegatingSqlValidatorCatalogReader
,DelegatingSqlValidatorTable
,DruidTable
,ElasticsearchTable
,GeodeSimpleScannableTable
,GeodeTable
,InnodbTable
,JdbcCatalogSchema
,JdbcSchema
,JdbcTable
,JsonScannableTable
,JsonTable
,ListTransientTable
,MaterializedViewTable
,MazeTable
,MockCatalogReader
,MockCatalogReader.MockDynamicTable
,MockCatalogReader.MockModifiableViewRelOptTable
,MockCatalogReader.MockModifiableViewRelOptTable.MockModifiableViewTable
,MockCatalogReader.MockRelViewTable
,MockCatalogReader.MockTable
,MockCatalogReader.MockViewTable
,MockCatalogReader.MustFilterMockTable
,MockCatalogReaderDynamic
,MockCatalogReaderExtended
,MockCatalogReaderSimple
,MockSqlOperatorTable.MyAggFunc
,MockSqlOperatorTable.MyAvgAggFunction
,ModifiableViewTable
,MongoTable
,MustFilterMockCatalogReader
,PigTable
,PigTable
,Prepare.AbstractPreparingTable
,RedisTable
,RelOptAbstractTable
,RelOptTableImpl
,Smalls.MazeTable
,Smalls.SimpleTable
,SqlAbstractGroupFunction
,SqlAggFunction
,SqlAnyValueAggFunction
,SqlAvgAggFunction
,SqlBasicAggFunction
,SqlBitOpAggFunction
,SqlCountAggFunction
,SqlCovarAggFunction
,SqlFirstLastValueAggFunction
,SqlHistogramAggFunction
,SqlJsonArrayAggAggFunction
,SqlJsonObjectAggAggFunction
,SqlLeadLagAggFunction
,SqlMinMaxAggFunction
,SqlNthValueAggFunction
,SqlNtileAggFunction
,SqlRankFunction
,SqlRegrCountAggFunction
,SqlSingleValueAggFunction
,SqlSumAggFunction
,SqlSumEmptyIsZeroAggFunction
,SqlUserDefinedAggFunction
,StarTable
,ViewTable
public interface Wrapper
Mix-in interface that allows you to find sub-objects.
-
Method Summary
Modifier and TypeMethodDescriptiondefault <C> Optional<C>
maybeUnwrap
(Class<C> aClass) Finds an instance of an interface implemented by this object, or returnsOptional.empty()
if this object does not support that interface.<C> @Nullable C
Finds an instance of an interface implemented by this object, or returns null if this object does not support that interface.default <C> C
unwrapOrThrow
(Class<C> aClass) Finds an instance of an interface implemented by this object, or throws NullPointerException if this object does not support that interface.
-
Method Details
-
unwrap
Finds an instance of an interface implemented by this object, or returns null if this object does not support that interface. -
unwrapOrThrow
Finds an instance of an interface implemented by this object, or throws NullPointerException if this object does not support that interface. -
maybeUnwrap
Finds an instance of an interface implemented by this object, or returnsOptional.empty()
if this object does not support that interface.
-