Class ExampleSystemTable

  • All Implemented Interfaces:
    io.prestosql.spi.connector.SystemTable

    public class ExampleSystemTable
    extends java.lang.Object
    implements io.prestosql.spi.connector.SystemTable
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.prestosql.spi.connector.SystemTable

        io.prestosql.spi.connector.SystemTable.Distribution
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static io.prestosql.spi.connector.SchemaTableName NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.prestosql.spi.connector.RecordCursor cursor​(io.prestosql.spi.connector.ConnectorTransactionHandle transactionHandle, io.prestosql.spi.connector.ConnectorSession session, io.prestosql.spi.predicate.TupleDomain<java.lang.Integer> constraint)  
      io.prestosql.spi.connector.SystemTable.Distribution getDistribution()  
      io.prestosql.spi.connector.ConnectorTableMetadata getTableMetadata()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.prestosql.spi.connector.SystemTable

        pageSource
    • Field Detail

      • NAME

        public static final io.prestosql.spi.connector.SchemaTableName NAME
    • Constructor Detail

      • ExampleSystemTable

        public ExampleSystemTable()
    • Method Detail

      • getDistribution

        public io.prestosql.spi.connector.SystemTable.Distribution getDistribution()
        Specified by:
        getDistribution in interface io.prestosql.spi.connector.SystemTable
      • getTableMetadata

        public io.prestosql.spi.connector.ConnectorTableMetadata getTableMetadata()
        Specified by:
        getTableMetadata in interface io.prestosql.spi.connector.SystemTable
      • cursor

        public io.prestosql.spi.connector.RecordCursor cursor​(io.prestosql.spi.connector.ConnectorTransactionHandle transactionHandle,
                                                              io.prestosql.spi.connector.ConnectorSession session,
                                                              io.prestosql.spi.predicate.TupleDomain<java.lang.Integer> constraint)
        Specified by:
        cursor in interface io.prestosql.spi.connector.SystemTable