Package | Description |
---|---|
org.jlab.coda.hipo | |
org.jlab.coda.jevio |
Modifier and Type | Method and Description |
---|---|
CompressionType |
Record.getCompressionType()
Deprecated.
Gets the compression type for the record.
|
CompressionType |
Writer.getCompressionType()
Convenience method that gets compression type for the file being written.
|
CompressionType |
RecordHeader.getCompressionType()
Get the type of compression used.
|
(package private) CompressionType |
WriterMT.getCompressionType()
Get the compression type for the file being written.
|
static CompressionType |
CompressionType.getCompressionType(int val)
Get the enum from the integer value.
|
static CompressionType |
CompressionType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompressionType[] |
CompressionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
Evio6Converter.convert(java.lang.String inFile,
java.lang.String outFile,
int nthreads,
CompressionType compressionType) |
static byte[] |
Compressor.getCompressedBuffer(CompressionType compressionType,
byte[] buffer)
Returns compressed buffer.
|
static int |
Compressor.getMaxCompressedLength(CompressionType compressionType,
int uncompressedLength)
Returns the maximum number of bytes needed to compress the given length
of uncompressed data.
|
static byte[] |
Compressor.getUnCompressedBuffer(CompressionType compressionType,
byte[] compressedBuffer)
Returns uncompressed buffer.
|
Record |
Record.setCompressionType(CompressionType compression)
Deprecated.
Sets compression type for the record.
|
Writer |
Writer.setCompressionType(CompressionType compression)
Convenience method that sets compression type for the file.
|
RecordHeader |
RecordHeader.setCompressionType(CompressionType type)
Set the compression type.
|
WriterMT |
WriterMT.setCompressionType(CompressionType compression)
Convenience method that sets compression type for the file.
|
Constructor and Description |
---|
RecordOutputStream(java.nio.ByteBuffer buffer,
int maxEventCount,
CompressionType compressionType,
HeaderType hType)
Constructor with arguments.
|
RecordOutputStream(java.nio.ByteOrder order,
int maxEventCount,
int maxBufferSize,
CompressionType compressionType)
Constructor with arguments.
|
RecordOutputStream(java.nio.ByteOrder order,
int maxEventCount,
int maxBufferSize,
CompressionType compressionType,
HeaderType hType)
Constructor with arguments.
|
RecordRingItem(java.nio.ByteOrder order,
int maxEventCount,
int maxBufferSize,
CompressionType compressionType)
Constructor.
|
RecordSupply(int ringSize,
java.nio.ByteOrder order,
int threadCount,
int maxEventCount,
int maxBufferSize,
CompressionType compressionType)
Constructor.
|
Writer(HeaderType hType,
java.nio.ByteOrder order,
int maxEventCount,
int maxBufferSize,
java.lang.String dictionary,
byte[] firstEvent,
CompressionType compType,
boolean addTrailerIndex)
Constructor with byte order.
|
WriterMT(java.nio.ByteOrder order,
int maxEventCount,
int maxBufferSize,
CompressionType compressionType,
int compressionThreads,
int ringSize)
Constructor with byte order.
|
WriterMT(HeaderType hType,
java.nio.ByteOrder order,
int maxEventCount,
int maxBufferSize,
java.lang.String dictionary,
byte[] firstEvent,
int firstEventLen,
CompressionType compType,
int compressionThreads,
boolean addTrailerIndex,
int ringSize)
Constructor with byte order.
|
WriterMT(java.lang.String filename,
java.nio.ByteOrder order,
int maxEventCount,
int maxBufferSize,
CompressionType compressionType,
int compressionThreads,
int ringSize)
Constructor with filename and byte order.
|
Modifier and Type | Method and Description |
---|---|
CompressionType |
BlockHeaderV2.getCompressionType()
Get the type of data compression used.
|
CompressionType |
IBlockHeader.getCompressionType()
Get the type of data compression used.
|
CompressionType |
BlockHeaderV4.getCompressionType()
Get the type of data compression used.
|
Constructor and Description |
---|
EventWriter(java.nio.ByteBuffer buf,
int maxRecordSize,
int maxEventCount,
java.lang.String xmlDictionary,
int recordNumber,
CompressionType compressionType)
Create an
EventWriter for writing events to a ByteBuffer. |
EventWriter(java.lang.String baseName,
java.lang.String directory,
java.lang.String runType,
int runNumber,
long split,
int maxRecordSize,
int maxEventCount,
java.nio.ByteOrder byteOrder,
java.lang.String xmlDictionary,
boolean overWriteOK,
boolean append,
EvioBank firstEvent,
int streamId,
int splitNumber,
int splitIncrement,
int streamCount,
CompressionType compressionType,
int compressionThreads,
int ringSize,
int bufferSize)
Create an
EventWriter for writing events to a file. |
EventWriterUnsync(java.nio.ByteBuffer buf,
int maxRecordSize,
int maxEventCount,
java.lang.String xmlDictionary,
int recordNumber,
CompressionType compressionType)
Create an
EventWriter for writing events to a ByteBuffer. |
EventWriterUnsync(java.lang.String baseName,
java.lang.String directory,
java.lang.String runType,
int runNumber,
long split,
int maxRecordSize,
int maxEventCount,
java.nio.ByteOrder byteOrder,
java.lang.String xmlDictionary,
boolean overWriteOK,
boolean append,
EvioBank firstEvent,
int streamId,
int splitNumber,
int splitIncrement,
int streamCount,
CompressionType compressionType,
int compressionThreads,
int ringSize,
int bufferSize)
Create an
EventWriter for writing events to a file. |