Class TSparkArrowBatch

    • Constructor Detail

      • TSparkArrowBatch

        public TSparkArrowBatch()
      • TSparkArrowBatch

        public TSparkArrowBatch​(ByteBuffer batch,
                                long rowCount)
      • TSparkArrowBatch

        public TSparkArrowBatch​(TSparkArrowBatch other)
        Performs a deep copy on other.
    • Method Detail

      • getBatch

        public byte[] getBatch()
      • bufferForBatch

        public ByteBuffer bufferForBatch()
      • unsetBatch

        public void unsetBatch()
      • isSetBatch

        public boolean isSetBatch()
        Returns true if field batch is set (has been assigned a value) and false otherwise
      • setBatchIsSet

        public void setBatchIsSet​(boolean value)
      • getRowCount

        public long getRowCount()
      • unsetRowCount

        public void unsetRowCount()
      • isSetRowCount

        public boolean isSetRowCount()
        Returns true if field rowCount is set (has been assigned a value) and false otherwise
      • setRowCountIsSet

        public void setRowCountIsSet​(boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException