Class Bundle


  • public class Bundle
    extends java.lang.Object
    Bundle represents a set of SSTables bundled, as per bundle size set by clients through writer option. SSTablesBundler can create multiple bundles, bundleSequence is used to order the produced bundles.
    • Field Detail

      • firstToken

        public final java.math.BigInteger firstToken
      • endToken

        public final java.math.BigInteger endToken
      • bundleUncompressedSize

        public final long bundleUncompressedSize
      • bundleCompressedSize

        public final long bundleCompressedSize
      • bundleDirectory

        public final java.nio.file.Path bundleDirectory
      • bundleFile

        public final java.nio.file.Path bundleFile
      • bundleSequence

        public final int bundleSequence
    • Constructor Detail

      • Bundle

        protected Bundle​(org.apache.cassandra.spark.bulkwriter.cloudstorage.Bundle.Builder builder)
    • Method Detail

      • deleteAll

        public void deleteAll()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • toString

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