@Deprecated public class StandardRecordWriter extends CompressableRecordWriter implements RecordWriter
Modifier and Type | Field and Description |
---|---|
static int |
MAX_ALLOWED_UTF_LENGTH
Deprecated.
|
static java.lang.String |
SERIALIZATION_NAME
Deprecated.
|
static int |
SERIALIZATION_VERISON
Deprecated.
|
Constructor and Description |
---|
StandardRecordWriter(java.io.File file,
java.util.concurrent.atomic.AtomicLong idGenerator,
TocWriter writer,
boolean compressed,
int uncompressedBlockSize)
Deprecated.
|
StandardRecordWriter(java.io.OutputStream out,
java.lang.String storageLocation,
java.util.concurrent.atomic.AtomicLong idGenerator,
TocWriter tocWriter,
boolean compressed,
int uncompressedBlockSize)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getSerializationName()
Deprecated.
|
protected int |
getSerializationVersion()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
protected void |
writeHeader(long firstEventId,
java.io.DataOutputStream out)
Deprecated.
|
protected void |
writeNullableString(java.io.DataOutputStream out,
java.lang.String toWrite,
java.lang.String fieldName)
Deprecated.
|
protected void |
writeRecord(ProvenanceEventRecord record,
long recordIdentifier,
java.io.DataOutputStream out)
Deprecated.
|
protected void |
writeUUID(java.io.DataOutputStream out,
java.lang.String uuid)
Deprecated.
|
protected void |
writeUUIDs(java.io.DataOutputStream out,
java.util.Collection<java.lang.String> list)
Deprecated.
|
ensureStreamState, flush, getBufferedOutputStream, getBytesWritten, getIdGenerator, getRecordsWritten, getUnderlyingOutputStream, isCompressed, resetWriteStream, syncUnderlyingOutputStream, writeHeader, writeRecord
close, getFile, getStorageLocation, getTocWriter, isClosed, isDirty, lock, markDirty, resetDirtyFlag, sync, tryLock, unlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
flush, getBytesWritten, getFile, getRecordsWritten, getTocWriter, isClosed, isDirty, lock, markDirty, sync, tryLock, unlock, writeHeader, writeRecord
public static final int MAX_ALLOWED_UTF_LENGTH
public static final int SERIALIZATION_VERISON
public static final java.lang.String SERIALIZATION_NAME
public StandardRecordWriter(java.io.File file, java.util.concurrent.atomic.AtomicLong idGenerator, TocWriter writer, boolean compressed, int uncompressedBlockSize) throws java.io.IOException
java.io.IOException
public StandardRecordWriter(java.io.OutputStream out, java.lang.String storageLocation, java.util.concurrent.atomic.AtomicLong idGenerator, TocWriter tocWriter, boolean compressed, int uncompressedBlockSize) throws java.io.IOException
java.io.IOException
protected java.lang.String getSerializationName()
getSerializationName
in class CompressableRecordWriter
protected int getSerializationVersion()
getSerializationVersion
in class CompressableRecordWriter
protected void writeHeader(long firstEventId, java.io.DataOutputStream out) throws java.io.IOException
writeHeader
in class CompressableRecordWriter
java.io.IOException
protected void writeRecord(ProvenanceEventRecord record, long recordIdentifier, java.io.DataOutputStream out) throws java.io.IOException
writeRecord
in class CompressableRecordWriter
java.io.IOException
protected void writeUUID(java.io.DataOutputStream out, java.lang.String uuid) throws java.io.IOException
java.io.IOException
protected void writeUUIDs(java.io.DataOutputStream out, java.util.Collection<java.lang.String> list) throws java.io.IOException
java.io.IOException
protected void writeNullableString(java.io.DataOutputStream out, java.lang.String toWrite, java.lang.String fieldName) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object