Class TFilterTransport

java.lang.Object
org.apache.thrift.transport.TTransport
io.trino.plugin.hive.metastore.thrift.TFilterTransport
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
TSubjectAssumingTransport

public abstract class TFilterTransport extends org.apache.thrift.transport.TTransport
  • Field Details

    • transport

      protected final org.apache.thrift.transport.TTransport transport
  • Constructor Details

    • TFilterTransport

      protected TFilterTransport(org.apache.thrift.transport.TTransport transport)
  • Method Details

    • isOpen

      public boolean isOpen()
      Specified by:
      isOpen in class org.apache.thrift.transport.TTransport
    • peek

      public boolean peek()
      Overrides:
      peek in class org.apache.thrift.transport.TTransport
    • open

      public void open() throws org.apache.thrift.transport.TTransportException
      Specified by:
      open in class org.apache.thrift.transport.TTransport
      Throws:
      org.apache.thrift.transport.TTransportException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in class org.apache.thrift.transport.TTransport
    • read

      public int read(ByteBuffer dst) throws org.apache.thrift.transport.TTransportException
      Overrides:
      read in class org.apache.thrift.transport.TTransport
      Throws:
      org.apache.thrift.transport.TTransportException
    • read

      public int read(byte[] buf, int off, int len) throws org.apache.thrift.transport.TTransportException
      Specified by:
      read in class org.apache.thrift.transport.TTransport
      Throws:
      org.apache.thrift.transport.TTransportException
    • readAll

      public int readAll(byte[] buf, int off, int len) throws org.apache.thrift.transport.TTransportException
      Overrides:
      readAll in class org.apache.thrift.transport.TTransport
      Throws:
      org.apache.thrift.transport.TTransportException
    • write

      public void write(byte[] buf) throws org.apache.thrift.transport.TTransportException
      Overrides:
      write in class org.apache.thrift.transport.TTransport
      Throws:
      org.apache.thrift.transport.TTransportException
    • write

      public void write(byte[] buf, int off, int len) throws org.apache.thrift.transport.TTransportException
      Specified by:
      write in class org.apache.thrift.transport.TTransport
      Throws:
      org.apache.thrift.transport.TTransportException
    • write

      public int write(ByteBuffer src) throws org.apache.thrift.transport.TTransportException
      Overrides:
      write in class org.apache.thrift.transport.TTransport
      Throws:
      org.apache.thrift.transport.TTransportException
    • flush

      public void flush() throws org.apache.thrift.transport.TTransportException
      Overrides:
      flush in class org.apache.thrift.transport.TTransport
      Throws:
      org.apache.thrift.transport.TTransportException
    • getBuffer

      public byte[] getBuffer()
      Overrides:
      getBuffer in class org.apache.thrift.transport.TTransport
    • getBufferPosition

      public int getBufferPosition()
      Overrides:
      getBufferPosition in class org.apache.thrift.transport.TTransport
    • getBytesRemainingInBuffer

      public int getBytesRemainingInBuffer()
      Overrides:
      getBytesRemainingInBuffer in class org.apache.thrift.transport.TTransport
    • consumeBuffer

      public void consumeBuffer(int len)
      Overrides:
      consumeBuffer in class org.apache.thrift.transport.TTransport
    • getConfiguration

      public org.apache.thrift.TConfiguration getConfiguration()
      Specified by:
      getConfiguration in class org.apache.thrift.transport.TTransport
    • updateKnownMessageSize

      public void updateKnownMessageSize(long size) throws org.apache.thrift.transport.TTransportException
      Specified by:
      updateKnownMessageSize in class org.apache.thrift.transport.TTransport
      Throws:
      org.apache.thrift.transport.TTransportException
    • checkReadBytesAvailable

      public void checkReadBytesAvailable(long numBytes) throws org.apache.thrift.transport.TTransportException
      Specified by:
      checkReadBytesAvailable in class org.apache.thrift.transport.TTransport
      Throws:
      org.apache.thrift.transport.TTransportException