Class SerializationHeader


  • public class SerializationHeader
    extends java.lang.Object
    • Method Detail

      • hasStatic

        public boolean hasStatic()
      • isForSSTable

        public boolean isForSSTable()
      • clusteringTypes

        public java.util.List<AbstractType<?>> clusteringTypes()
      • columns

        public Columns columns​(boolean isStatic)
      • writeTimestamp

        public void writeTimestamp​(long timestamp,
                                   DataOutputPlus out)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • writeLocalDeletionTime

        public void writeLocalDeletionTime​(long localDeletionTime,
                                           DataOutputPlus out)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • writeTTL

        public void writeTTL​(int ttl,
                             DataOutputPlus out)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • writeDeletionTime

        public void writeDeletionTime​(DeletionTime dt,
                                      DataOutputPlus out)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • readTimestamp

        public long readTimestamp​(DataInputPlus in)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • readLocalDeletionTime

        public long readLocalDeletionTime​(DataInputPlus in)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • readTTL

        public int readTTL​(DataInputPlus in)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readDeletionTime

        public DeletionTime readDeletionTime​(DataInputPlus in)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • timestampSerializedSize

        public long timestampSerializedSize​(long timestamp)
      • localDeletionTimeSerializedSize

        public long localDeletionTimeSerializedSize​(long localDeletionTime)
      • ttlSerializedSize

        public long ttlSerializedSize​(int ttl)
      • deletionTimeSerializedSize

        public long deletionTimeSerializedSize​(DeletionTime dt)
      • skipTimestamp

        public void skipTimestamp​(DataInputPlus in)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • skipLocalDeletionTime

        public void skipLocalDeletionTime​(DataInputPlus in)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • skipTTL

        public void skipTTL​(DataInputPlus in)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • skipDeletionTime

        public void skipDeletionTime​(DataInputPlus in)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object