Class Bundle
- java.lang.Object
-
- org.apache.cassandra.spark.bulkwriter.cloudstorage.Bundle
-
public class Bundle extends java.lang.ObjectBundle represents a set of SSTables bundled, as per bundle size set by clients through writer option.SSTablesBundlercan create multiple bundles,bundleSequenceis used to order the produced bundles.
-
-
Field Summary
Fields Modifier and Type Field Description longbundleCompressedSizejava.nio.file.PathbundleDirectoryjava.nio.file.PathbundleFileintbundleSequencelongbundleUncompressedSizejava.math.BigIntegerendTokenjava.math.BigIntegerfirstToken
-
Constructor Summary
Constructors Modifier Constructor Description protectedBundle(org.apache.cassandra.spark.bulkwriter.cloudstorage.Bundle.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteAll()java.lang.StringtoString()
-
-
-
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
-
-