Class TFileProcessor

java.lang.Object
org.apache.thrift.transport.TFileProcessor

public class TFileProcessor extends Object
FileProcessor: helps in processing files generated by TFileTransport. Port of original cpp implementation
  • Constructor Details

  • Method Details

    • processChunk

      public void processChunk(int startChunkNum, int endChunkNum) throws TException
      Process from start to last chunk both inclusive where chunks begin from 0
      Parameters:
      startChunkNum - first chunk to be processed
      endChunkNum - last chunk to be processed
      Throws:
      TException - if endChunkNum is less than startChunkNum.
    • processChunk

      public void processChunk(int chunkNum) throws TException
      Process a single chunk
      Parameters:
      chunkNum - chunk to be processed
      Throws:
      TException - on error while processing the given chunk.
    • processChunk

      public void processChunk() throws TException
      Process a current chunk
      Throws:
      TException - on error while processing the given chunk.