Package io.trino.plugin.thrift.server
Class ThriftIndexedTpchService
- java.lang.Object
-
- io.trino.plugin.thrift.server.ThriftTpchService
-
- io.trino.plugin.thrift.server.ThriftIndexedTpchService
-
- All Implemented Interfaces:
TrinoThriftService,Closeable,AutoCloseable
public class ThriftIndexedTpchService extends ThriftTpchService
-
-
Field Summary
-
Fields inherited from class io.trino.plugin.thrift.server.ThriftTpchService
SPLIT_INFO_CODEC
-
-
Constructor Summary
Constructors Constructor Description ThriftIndexedTpchService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConnectorPageSourcecreateLookupPageSource(SplitInfo splitInfo, List<String> outputColumnNames)protected List<Set<String>>getIndexableKeys(String schemaName, String tableName)protected TrinoThriftSplitBatchgetIndexSplitsSync(TrinoThriftSchemaTableName schemaTableName, List<String> indexColumnNames, TrinoThriftPageResult keys, int maxSplitCount, TrinoThriftNullableToken nextToken)-
Methods inherited from class io.trino.plugin.thrift.server.ThriftTpchService
close, getIndexSplits, getRows, getSplits, getTableMetadata, listSchemaNames, listTables, schemaNameToScaleFactor, types
-
-
-
-
Method Detail
-
getIndexableKeys
protected List<Set<String>> getIndexableKeys(String schemaName, String tableName)
- Overrides:
getIndexableKeysin classThriftTpchService
-
getIndexSplitsSync
protected TrinoThriftSplitBatch getIndexSplitsSync(TrinoThriftSchemaTableName schemaTableName, List<String> indexColumnNames, TrinoThriftPageResult keys, int maxSplitCount, TrinoThriftNullableToken nextToken) throws TrinoThriftServiceException
- Overrides:
getIndexSplitsSyncin classThriftTpchService- Throws:
TrinoThriftServiceException
-
createLookupPageSource
protected ConnectorPageSource createLookupPageSource(SplitInfo splitInfo, List<String> outputColumnNames)
- Overrides:
createLookupPageSourcein classThriftTpchService
-
-