@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, writeRecordclose, getFile, getStorageLocation, getTocWriter, isClosed, isDirty, lock, markDirty, resetDirtyFlag, sync, tryLock, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitflush, getBytesWritten, getFile, getRecordsWritten, getTocWriter, isClosed, isDirty, lock, markDirty, sync, tryLock, unlock, writeHeader, writeRecordpublic 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.IOExceptionpublic 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.IOExceptionprotected java.lang.String getSerializationName()
getSerializationName in class CompressableRecordWriterprotected int getSerializationVersion()
getSerializationVersion in class CompressableRecordWriterprotected void writeHeader(long firstEventId,
java.io.DataOutputStream out)
throws java.io.IOException
writeHeader in class CompressableRecordWriterjava.io.IOExceptionprotected void writeRecord(ProvenanceEventRecord record, long recordIdentifier, java.io.DataOutputStream out) throws java.io.IOException
writeRecord in class CompressableRecordWriterjava.io.IOExceptionprotected void writeUUID(java.io.DataOutputStream out,
java.lang.String uuid)
throws java.io.IOException
java.io.IOExceptionprotected void writeUUIDs(java.io.DataOutputStream out,
java.util.Collection<java.lang.String> list)
throws java.io.IOException
java.io.IOExceptionprotected void writeNullableString(java.io.DataOutputStream out,
java.lang.String toWrite,
java.lang.String fieldName)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object