Package | Description |
---|---|
com.spotify.sparkey |
Modifier and Type | Method and Description |
---|---|
static SparkeyWriter |
Sparkey.append(File file)
Opens an existing file for append.
|
static SparkeyWriter |
Sparkey.appendOrCreate(File file,
CompressionType compressionType,
int compressionBlockSize)
Opens an existing file for append, or create a new one if it doesn't exist.
|
static SparkeyWriter |
Sparkey.createNew(File file)
Creates a new sparkey writer without any compression.
|
static SparkeyWriter |
Sparkey.createNew(File file,
CompressionType compressionType,
int compressionBlockSize)
Creates a new sparkey writer with the specified compression
This is not a thread-safe class, only use it from one thread.
|
Copyright © 2013. All rights reserved.