Package | Description |
---|---|
org.jlab.coda.hipo | |
org.jlab.coda.jevio |
Modifier and Type | Method and Description |
---|---|
int |
RecordHeader.bytesRemaining(long position)
Gives the bytes remaining in this block (record) given a buffer position.
|
Modifier and Type | Method and Description |
---|---|
void |
CompactEventBuilder.addByteData(byte[] data)
Appends byte data to the structure.
|
void |
EventBuilder.addChild(BaseStructure parent,
BaseStructure child)
Add a child to a parent structure.
|
void |
CompactEventBuilder.addCompositeData(CompositeData[] data)
Appends CompositeData objects to the structure.
|
void |
CompactEventBuilder.addDoubleData(double[] data)
Appends double data to the structure.
|
void |
CompactEventBuilder.addEvioNode(EvioNode node)
Adds the evio structure represented by the EvioNode object
into the buffer.
|
void |
CompactEventBuilder.addFloatData(float[] data)
Appends float data to the structure.
|
void |
CompactEventBuilder.addIntData(int[] data)
Appends int data to the structure.
|
void |
CompactEventBuilder.addIntData(int[] data,
int offset)
Appends int data to the structure.
|
void |
CompactEventBuilder.addIntData(int[] data,
int offset,
int len)
Appends int data to the structure.
|
void |
CompactEventBuilder.addLongData(long[] data)
Appends long data to the structure.
|
void |
CompactEventBuilder.addLongData(long[] data,
int offset,
int len)
Appends long data to the structure.
|
void |
CompactEventBuilder.addShortData(short data)
Appends a short integer to the structure.
|
void |
CompactEventBuilder.addShortData(short[] data)
Appends short data to the structure.
|
void |
CompactEventBuilder.addShortData(short[] data,
int offset,
int len)
Appends short data to the structure.
|
void |
CompactEventBuilder.addStringData(java.lang.String[] strings)
Appends string array to the structure.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.addStructure(java.nio.ByteBuffer addBuffer)
This method adds a bank, segment, or tagsegment onto the end of a
structure which contains banks, segments, or tagsegments respectively.
|
java.nio.ByteBuffer |
IEvioCompactReader.addStructure(int eventNumber,
java.nio.ByteBuffer addBuffer)
This method adds an evio container (bank, segment, or tag segment) as the last
structure contained in an event.
|
java.nio.ByteBuffer |
EvioCompactReader.addStructure(int eventNumber,
java.nio.ByteBuffer addBuffer)
This method adds an evio container (bank, segment, or tag segment) as the last
structure contained in an event.
|
void |
EventBuilder.appendByteData(BaseStructure structure,
byte[] data)
Appends byte data to the structure.
|
void |
BaseStructure.appendByteData(byte[] data)
Appends byte data to the structure.
|
void |
BaseStructure.appendByteData(java.nio.ByteBuffer byteData)
Appends byte data to the structure.
|
void |
BaseStructure.appendCompositeData(CompositeData[] data)
Appends CompositeData objects to the structure.
|
void |
EventBuilder.appendDoubleData(BaseStructure structure,
double[] data)
Appends double data to the structure.
|
void |
BaseStructure.appendDoubleData(java.nio.ByteBuffer byteData)
Appends double data to the structure.
|
void |
BaseStructure.appendDoubleData(double[] data)
Appends double data to the structure.
|
void |
EventBuilder.appendFloatData(BaseStructure structure,
float[] data)
Appends float data to the structure.
|
void |
BaseStructure.appendFloatData(java.nio.ByteBuffer byteData)
Appends float data to the structure.
|
void |
BaseStructure.appendFloatData(float[] data)
Appends float data to the structure.
|
void |
EventBuilder.appendIntData(BaseStructure structure,
int[] data)
Appends int data to the structure.
|
void |
BaseStructure.appendIntData(java.nio.ByteBuffer byteData)
Appends int data to the structure.
|
void |
BaseStructure.appendIntData(int[] data)
Appends int data to the structure.
|
void |
EventBuilder.appendLongData(BaseStructure structure,
long[] data)
Appends long data to the structure.
|
void |
BaseStructure.appendLongData(java.nio.ByteBuffer byteData)
Appends long data to the structure.
|
void |
BaseStructure.appendLongData(long[] data)
Appends long data to the structure.
|
void |
EventBuilder.appendShortData(BaseStructure structure,
short[] data)
Appends short data to the structure.
|
void |
BaseStructure.appendShortData(java.nio.ByteBuffer byteData)
Appends short data to the structure.
|
void |
BaseStructure.appendShortData(short[] data)
Appends short data to the structure.
|
void |
EventBuilder.appendStringData(BaseStructure structure,
java.lang.String data)
Appends string data to the structure.
|
void |
BaseStructure.appendStringData(java.lang.String s)
Appends string to the structure (as ascii).
|
void |
BaseStructure.appendStringData(java.lang.String[] s)
Appends an array of strings to the structure (as ascii).
|
static void |
Utilities.bufferToFile(java.lang.String fileName,
java.nio.ByteBuffer buf,
boolean overWriteOK,
boolean addBlockHeader)
This method takes a byte buffer and saves it to the specified file,
overwriting whatever is there.
|
int |
BlockHeaderV2.bytesRemaining(long position)
Gives the bytes remaining in this block (physical record) given a buffer position.
|
int |
IBlockHeader.bytesRemaining(long position)
Gives the bytes remaining in this block (record) given a buffer position.
|
int |
BlockHeaderV4.bytesRemaining(long position)
Gives the bytes remaining in this block (physical record) given a buffer position.
|
static java.util.List<java.lang.Integer> |
CompositeData.compositeFormatToInt(java.lang.String fmt)
This method transforms a composite, format-containing
ASCII string to an int array.
|
static void |
CompositeData.dataToRawBytes(java.nio.ByteBuffer rawBuf,
CompositeData.Data data,
java.util.List<java.lang.Integer> ifmt)
This method takes a CompositeData object and a transformed format string
and uses that to write data into a buffer/array in raw form.
|
static void |
EventParser.eventParse(EvioEvent evioEvent)
Method for parsing the event which will drill down and uncover all structures.
|
static EvioNode |
EvioNode.extractEventNode(java.nio.ByteBuffer buffer,
EvioNodeSource pool,
BlockNode blockNode,
int position,
int place)
This method extracts an EvioNode object representing an
evio event (top level evio bank) from a given buffer, a
location in the buffer, and a few other things.
|
static EvioNode |
EvioNode.extractEventNode(java.nio.ByteBuffer buffer,
EvioNodeSource pool,
int recPosition,
int position,
int place)
This method extracts an EvioNode object representing an
evio event (top level evio bank) from a given buffer, a
location in the buffer, and a few other things.
|
static EvioNode |
EvioNode.extractNode(EvioNode bankNode,
int position)
This method populates an EvioNode object that will represent an
evio bank from that same node containing a reference to the
backing buffer and given a position in that buffer.
|
static int[] |
Utilities.generateBaseFileName(java.lang.String baseName,
java.lang.String runType,
java.lang.StringBuilder newNameBuilder)
This method generates part of a file name given a base file name as an argument.
|
static byte[] |
CompositeData.generateRawBytes(CompositeData[] data,
java.nio.ByteOrder order)
This method generates raw bytes of evio format from an array of CompositeData objects.
|
int |
EvioReaderUnsyncV6.getBlockCount()
This is the number of records in the file/buffer including the empty
record or trailer at the end.
|
int |
EvioReaderV4.getBlockCount()
This is the number of blocks in the file including the empty
block usually at the end of version 4 files/buffers.
|
int |
EvioReader.getBlockCount()
This is the number of records in the file/buffer including the empty
record or trailer at the end.
|
int |
EvioReaderV6.getBlockCount()
This is the number of records in the file/buffer including the empty
record or trailer at the end.
|
int |
EvioReaderUnsyncV4.getBlockCount()
This is the number of blocks in the file including the empty
block usually at the end of version 4 files/buffers.
|
int |
IEvioReader.getBlockCount()
This is the number of records in the file/buffer including the empty
record or trailer at the end.
|
java.util.List<EvioNode> |
EvioCompactStructureHandler.getChildNodes()
This method returns an unmodifiable list of all
evio structures in buffer as EvioNode objects.
|
CompositeData[] |
BaseStructure.getCompositeData()
This is a method from the IEvioStructure Interface.
|
CompositeData[] |
IEvioStructure.getCompositeData()
Gets the raw data as an array of CompositeData objects, if the type as indicated
by the header is appropriate.
|
java.nio.ByteBuffer |
IEvioCompactReader.getData(EvioNode node)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.getData(EvioNode node)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReader.getData(EvioNode node)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
IEvioCompactReader.getData(EvioNode node,
boolean copy)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.getData(EvioNode node,
boolean copy)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReader.getData(EvioNode node,
boolean copy)
Get the data associated with an evio structure in ByteBuffer form.
|
EvioXMLDictionary |
IEvioCompactReader.getDictionary()
Get the evio dictionary if is there is one.
|
EvioXMLDictionary |
EvioCompactReader.getDictionary()
Get the evio dictionary if is there is one.
|
java.lang.String |
IEvioCompactReader.getDictionaryXML()
Get the XML format dictionary is there is one.
|
java.lang.String |
EvioCompactReader.getDictionaryXML()
Get the XML format dictionary is there is one.
|
EvioEvent |
EvioReaderUnsyncV6.getEvent(int index)
Get the event in the file/buffer at a given index (starting at 1).
|
EvioEvent |
EvioReaderV4.getEvent(int index)
Get the event in the file/buffer at a given index (starting at 1).
|
EvioEvent |
EvioReader.getEvent(int index)
Get the event in the file/buffer at a given index (starting at 1).
|
EvioEvent |
EvioReaderV6.getEvent(int index)
Get the event in the file/buffer at a given index (starting at 1).
|
EvioEvent |
EvioReaderUnsyncV4.getEvent(int index)
Get the event in the file/buffer at a given index (starting at 1).
|
EvioEvent |
IEvioReader.getEvent(int index)
Get the event in the file/buffer at a given index (starting at 1).
|
byte[] |
EvioReaderUnsyncV6.getEventArray(int eventNumber)
Get an evio bank or event in byte array form.
|
byte[] |
EvioReaderV4.getEventArray(int eventNumber)
Get an evio bank or event in byte array form.
|
byte[] |
EvioReader.getEventArray(int eventNumber)
Get an evio bank or event in byte array form.
|
byte[] |
EvioReaderV6.getEventArray(int eventNumber)
Get an evio bank or event in byte array form.
|
byte[] |
EvioReaderUnsyncV4.getEventArray(int eventNumber)
Get an evio bank or event in byte array form.
|
byte[] |
IEvioReader.getEventArray(int eventNumber)
Get an evio bank or event in byte array form.
|
java.nio.ByteBuffer |
EvioReaderUnsyncV6.getEventBuffer(int eventNumber)
Get an evio bank or event in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioReaderV4.getEventBuffer(int eventNumber)
Get an evio bank or event in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioReader.getEventBuffer(int eventNumber)
Get an evio bank or event in ByteBuffer form.
|
java.nio.ByteBuffer |
IEvioCompactReader.getEventBuffer(int eventNumber)
Get an evio bank or event in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioReaderV6.getEventBuffer(int eventNumber)
Get an evio bank or event in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioReaderUnsyncV4.getEventBuffer(int eventNumber)
Get an evio bank or event in ByteBuffer form.
|
java.nio.ByteBuffer |
IEvioReader.getEventBuffer(int eventNumber)
Get an evio bank or event in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReader.getEventBuffer(int eventNumber)
Get an evio bank or event in ByteBuffer form.
|
java.nio.ByteBuffer |
IEvioCompactReader.getEventBuffer(int eventNumber,
boolean copy)
Get an evio bank or event in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReader.getEventBuffer(int eventNumber,
boolean copy)
Get an evio bank or event in ByteBuffer form.
|
int |
EvioReaderUnsyncV6.getEventCount()
This is the number of events in the file/buffer.
|
int |
EvioReaderV4.getEventCount()
This is the number of events in the file.
|
int |
EvioReader.getEventCount()
This is the number of events in the file/buffer.
|
int |
EvioReaderV6.getEventCount()
This is the number of events in the file/buffer.
|
int |
EvioReaderUnsyncV4.getEventCount()
This is the number of events in the file.
|
int |
IEvioReader.getEventCount()
This is the number of events in the file/buffer.
|
static int |
Utilities.getEvioVersion(java.nio.ByteBuffer headerData)
Get the evio version of the given evio header in ByteBuffer form.
|
static int |
Utilities.getEvioVersion(java.io.File file)
Get the evio version of the given file.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingChild(BaseStructure structure,
java.lang.String childName,
INameProvider dictionary)
Collect all structures in an event who has a child with the given dictionary name.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingParent(BaseStructure structure,
java.lang.String parentName,
INameProvider dictionary)
Collect all structures in an event whose parent has the given dictionary name.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingStructures(BaseStructure structure,
java.lang.String name,
INameProvider dictionary)
Collect all structures in an event that match the given dictionary name.
|
java.util.List<EvioNode> |
EvioCompactStructureHandler.getNodes()
This method returns an unmodifiable list of all
evio structures in buffer as EvioNode objects.
|
int |
EvioReaderV4.getNumEventsRemaining()
Get the number of events remaining in the file.
|
int |
EvioReader.getNumEventsRemaining()
Get the number of events remaining in the file.
|
int |
EvioReaderV6.getNumEventsRemaining()
Get the number of events remaining in the file.
|
int |
EvioReaderUnsyncV4.getNumEventsRemaining()
Get the number of events remaining in the file.
|
int |
IEvioReader.getNumEventsRemaining()
Get the number of events remaining in the file.
|
java.nio.ByteBuffer |
IEvioCompactReader.getStructureBuffer(EvioNode node)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.getStructureBuffer(EvioNode node)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReader.getStructureBuffer(EvioNode node)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
java.nio.ByteBuffer |
IEvioCompactReader.getStructureBuffer(EvioNode node,
boolean copy)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.getStructureBuffer(EvioNode node,
boolean copy)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReader.getStructureBuffer(EvioNode node,
boolean copy)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
EvioEvent |
EvioReaderUnsyncV6.gotoEventNumber(int evNumber)
Deprecated.
|
EvioEvent |
EvioReaderV4.gotoEventNumber(int evNumber)
Go to a specific event in the file.
|
EvioEvent |
EvioReader.gotoEventNumber(int evNumber)
Go to a specific event in the file.
|
EvioEvent |
EvioReaderV6.gotoEventNumber(int evNumber)
Deprecated.
|
EvioEvent |
EvioReaderUnsyncV4.gotoEventNumber(int evNumber)
Go to a specific event in the file.
|
EvioEvent |
IEvioReader.gotoEventNumber(int evNumber)
Go to a specific event in the file.
|
static void |
ByteDataTransformer.intoByteBuffer(int[] data,
int dataOffset,
int dataLen,
java.nio.ByteBuffer buffer)
Write int array into ByteBuffer.
|
EvioEvent |
EvioReaderUnsyncV6.nextEvent()
Get the next event in the file/buffer.
|
EvioEvent |
EvioReaderV4.nextEvent()
Get the next event in the file/buffer.
|
EvioEvent |
EvioReader.nextEvent()
Get the next event in the file/buffer.
|
EvioEvent |
EvioReaderV6.nextEvent()
Get the next event in the file/buffer.
|
EvioEvent |
EvioReaderUnsyncV4.nextEvent()
Get the next event in the file/buffer.
|
EvioEvent |
IEvioReader.nextEvent()
Get the next event in the file/buffer.
|
static EvioEvent |
Utilities.nodeToEvent(EvioNode node)
This method takes an EvioNode object and converts it to an EvioEvent object.
|
EvioNode |
CompactEventBuilder.openBank(int tag,
int num,
DataType dataType)
This method adds an evio bank to the buffer.
|
EvioNode |
CompactEventBuilder.openSegment(int tag,
DataType dataType)
This method adds an evio segment structure to the buffer.
|
EvioNode |
CompactEventBuilder.openTagSegment(int tag,
DataType dataType)
This method adds an evio tagsegment structure to the buffer.
|
static CompositeData[] |
CompositeData.parse(byte[] rawBytes,
java.nio.ByteOrder byteOrder)
This method parses an array of raw bytes into an array of CompositeData objects.
|
static EvioEvent |
EvioReader.parseEvent(byte[] array,
int offset,
java.nio.ByteOrder order)
Completely parse the given byte array into an EvioEvent.
|
static EvioEvent |
EvioReaderUnsyncV4.parseEvent(byte[] array,
int offset,
java.nio.ByteOrder order)
Parse the given byte array into an EvioEvent.
|
void |
EvioReaderUnsyncV6.parseEvent(EvioEvent evioEvent)
This will parse an event, SAX-like.
|
void |
EvioReaderV4.parseEvent(EvioEvent evioEvent)
This will parse an event, SAX-like.
|
void |
EvioReader.parseEvent(EvioEvent evioEvent)
This will parse an event, SAX-like.
|
void |
EvioReaderV6.parseEvent(EvioEvent evioEvent)
This will parse an event, SAX-like.
|
void |
EventParser.parseEvent(EvioEvent evioEvent)
This is the workhorse method for parsing the event.
|
void |
EvioReaderUnsyncV4.parseEvent(EvioEvent evioEvent)
This will parse an event, SAX-like.
|
void |
IEvioReader.parseEvent(EvioEvent evioEvent)
This will parse an event, SAX-like.
|
void |
EventParser.parseEvent(EvioEvent evioEvent,
boolean synced)
This is the workhorse method for parsing the event.
|
EvioEvent |
EvioReaderUnsyncV6.parseEvent(int index)
This is a workhorse method.
|
EvioEvent |
EvioReaderV4.parseEvent(int index)
This is a workhorse method.
|
EvioEvent |
EvioReader.parseEvent(int index)
This is a workhorse method.
|
EvioEvent |
EvioReaderV6.parseEvent(int index)
This is a workhorse method.
|
EvioEvent |
EvioReaderUnsyncV4.parseEvent(int index)
This is a workhorse method.
|
EvioEvent |
IEvioReader.parseEvent(int index)
This is a workhorse method.
|
EvioEvent |
EvioReaderUnsyncV6.parseNextEvent()
This is a workhorse method.
|
EvioEvent |
EvioReaderV4.parseNextEvent()
This is a workhorse method.
|
EvioEvent |
EvioReader.parseNextEvent()
This is a workhorse method.
|
EvioEvent |
EvioReaderV6.parseNextEvent()
This is a workhorse method.
|
EvioEvent |
EvioReaderUnsyncV4.parseNextEvent()
This is a workhorse method.
|
EvioEvent |
IEvioReader.parseNextEvent()
This is a workhorse method.
|
long |
EvioReaderV4.position()
This is equivalent to obtaining the current position in the file.
|
long |
EvioReader.position()
This is equivalent to obtaining the current position in the file.
|
long |
EvioReaderUnsyncV4.position()
This is equivalent to obtaining the current position in the file.
|
long |
IEvioReader.position()
This is equivalent to obtaining the current position in the file.
|
static void |
Utilities.readBytes(java.lang.String fileName,
java.nio.ByteBuffer buf)
This method reads part of a file into a ByteBuffer.
|
void |
EventBuilder.remove(BaseStructure child)
This removes a structure (and all its descendants) from the tree.
|
java.nio.ByteBuffer |
IEvioCompactReader.removeEvent(int eventNumber)
This method removes the data of the given event from the buffer.
|
java.nio.ByteBuffer |
EvioCompactReader.removeEvent(int eventNumber)
This method removes the data of the given event from the buffer.
|
java.nio.ByteBuffer |
IEvioCompactReader.removeStructure(EvioNode removeNode)
This method removes the data, represented by the given node, from the buffer.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.removeStructure(EvioNode removeNode)
This method removes the data, represented by the given node, from the buffer.
|
java.nio.ByteBuffer |
EvioCompactReader.removeStructure(EvioNode removeNode)
This method removes the data, represented by the given node, from the buffer.
|
void |
EvioReaderV4.rewind()
The equivalent of rewinding the file.
|
void |
EvioReader.rewind()
The equivalent of rewinding the file.
|
void |
EvioReaderUnsyncV4.rewind()
The equivalent of rewinding the file.
|
void |
IEvioReader.rewind()
The equivalent of rewinding the file.
|
java.util.List<EvioNode> |
IEvioCompactReader.searchEvent(int eventNumber,
int tag,
int num)
This method searches the specified event in a file/buffer and
returns a list of objects each of which contain information
about a single evio structure which matches the given tag and num.
|
java.util.List<EvioNode> |
EvioCompactReader.searchEvent(int eventNumber,
int tag,
int num)
This method searches the specified event in a file/buffer and
returns a list of objects each of which contain information
about a single evio structure which matches the given tag and num.
|
java.util.List<EvioNode> |
IEvioCompactReader.searchEvent(int eventNumber,
java.lang.String dictName,
EvioXMLDictionary dictionary)
This method searches the specified event in a file/buffer and
returns a list of objects each of which contain information
about a single evio structure which matches the given dictionary
entry name.
|
java.util.List<EvioNode> |
EvioCompactReader.searchEvent(int eventNumber,
java.lang.String dictName,
EvioXMLDictionary dictionary)
This method searches the specified event in a file/buffer and
returns a list of objects each of which contain information
about a single evio structure which matches the given dictionary
entry name.
|
java.util.List<EvioNode> |
EvioCompactStructureHandler.searchStructure(int tag,
int num)
This method searches the event and
returns a list of objects each of which contain information
about a single evio structure which matches the given tag and num.
|
java.util.List<EvioNode> |
EvioCompactStructureHandler.searchStructure(java.lang.String dictName,
EvioXMLDictionary dictionary)
This method searches the event and
returns a list of objects each of which contain information
about a single evio structure which matches the given dictionary
entry name.
|
int |
BaseStructure.setAllHeaderLengths()
Compute and set length of all header fields for this structure and all its descendants.
|
void |
CompactEventBuilder.setBuffer(java.nio.ByteBuffer buffer)
Set the buffer to be written into.
|
void |
EvioReaderUnsyncV6.setBuffer(java.nio.ByteBuffer buf)
This method can be used to avoid creating additional EvioReader
objects by reusing this one with another buffer.
|
void |
EvioReaderV4.setBuffer(java.nio.ByteBuffer buf)
This method can be used to avoid creating additional EvioReader
objects by reusing this one with another buffer.
|
void |
EventWriterUnsync.setBuffer(java.nio.ByteBuffer buf)
Set the buffer being written into (initially set in constructor).
|
void |
EvioReader.setBuffer(java.nio.ByteBuffer buf)
This method can be used to avoid creating additional EvioReader
objects by reusing this one with another buffer.
|
void |
IEvioCompactReader.setBuffer(java.nio.ByteBuffer buf)
This method can be used to avoid creating additional EvioCompactReader
objects by reusing this one with another buffer.
|
void |
EvioReaderV6.setBuffer(java.nio.ByteBuffer buf)
This method can be used to avoid creating additional EvioReader
objects by reusing this one with another buffer.
|
void |
EvioReaderUnsyncV4.setBuffer(java.nio.ByteBuffer buf)
This method can be used to avoid creating additional EvioReader
objects by reusing this one with another buffer.
|
void |
EventWriter.setBuffer(java.nio.ByteBuffer buf)
Set the buffer being written into (initially set in constructor).
|
void |
IEvioReader.setBuffer(java.nio.ByteBuffer buf)
This method can be used to avoid creating additional EvioReader
objects by reusing this one with another buffer.
|
void |
EvioCompactReader.setBuffer(java.nio.ByteBuffer buf)
This method can be used to avoid creating additional EvioCompactReader
objects by reusing this one with another buffer.
|
void |
EventWriterUnsync.setBuffer(java.nio.ByteBuffer buf,
java.util.BitSet bitInfo,
int recordNumber)
Set the buffer being written into (initially set in constructor).
|
void |
EventWriter.setBuffer(java.nio.ByteBuffer buf,
java.util.BitSet bitInfo,
int recordNumber)
Set the buffer being written into (initially set in constructor).
|
void |
CompactEventBuilder.setBuffer(java.nio.ByteBuffer buffer,
boolean generateNodes)
Set the buffer to be written into.
|
void |
EvioCompactStructureHandler.setBuffer(java.nio.ByteBuffer buf,
DataType type)
This method can be used to avoid creating additional EvioCompactEventReader
objects by reusing this one with another buffer.
|
void |
IEvioCompactReader.setBuffer(java.nio.ByteBuffer buf,
EvioNodeSource pool)
This method can be used to avoid creating additional EvioCompactReader
objects by reusing this one with another buffer.
|
void |
EvioCompactReader.setBuffer(java.nio.ByteBuffer buf,
EvioNodeSource pool)
This method can be used to avoid creating additional EvioCompactReader
objects by reusing this one with another buffer.
|
void |
EventBuilder.setByteData(BaseStructure structure,
byte[] data)
Set byte data to the structure.
|
void |
BaseStructure.setByteData(byte[] data)
Set the data in this structure to the given array of bytes.
|
void |
BaseStructure.setByteData(java.nio.ByteBuffer byteData)
Set the data in this structure to the bytes contained in the given ByteBuffer.
|
void |
BaseStructure.setCompositeData(CompositeData[] data)
Set the data in this structure to the given array of CompositeData objects.
|
void |
EventBuilder.setDoubleData(BaseStructure structure,
double[] data)
Set double data to the structure.
|
void |
BaseStructure.setDoubleData(java.nio.ByteBuffer byteData)
Set the data in this structure to the doubles contained in the given ByteBuffer.
|
void |
BaseStructure.setDoubleData(double[] data)
Set the data in this structure to the given array of doubles.
|
void |
BlockHeaderV2.setEnd(int end)
Set the ending position of the block (physical record.) This is the number of valid words (header + data) in the
block (physical record.) This is normally the same as the block size, except for the last block (physical record)
in the file.
|
void |
BlockHeaderV4.setEventCount(int count)
Set the number of events completely contained in the block.
|
void |
EventWriterUnsync.setFirstEvent(java.nio.ByteBuffer buffer)
Set an event which will be written to the file as
well as to all split files.
|
void |
EventWriter.setFirstEvent(java.nio.ByteBuffer buffer)
Set an event which will be written to the file as
well as to all split files.
|
void |
EventWriterUnsync.setFirstEvent(EvioBank bank)
Set an event which will be written to the file as
well as to all split files.
|
void |
EventWriter.setFirstEvent(EvioBank bank)
Set an event which will be written to the file as
well as to all split files.
|
void |
EventWriterUnsync.setFirstEvent(EvioNode node)
Set an event which will be written to the file as
well as to all split files.
|
void |
EventWriter.setFirstEvent(EvioNode node)
Set an event which will be written to the file as
well as to all split files.
|
void |
EventBuilder.setFloatData(BaseStructure structure,
float[] data)
Set float data to the structure.
|
void |
BaseStructure.setFloatData(java.nio.ByteBuffer byteData)
Set the data in this structure to the floats contained in the given ByteBuffer.
|
void |
BaseStructure.setFloatData(float[] data)
Set the data in this structure to the given array of floats.
|
void |
BlockHeaderV2.setHeaderLength(int headerLength)
Set the block header length, in ints.
|
void |
EventBuilder.setIntData(BaseStructure structure,
int[] data)
Set int data to the structure.
|
void |
BaseStructure.setIntData(java.nio.ByteBuffer byteData)
Set the data in this structure to the ints contained in the given ByteBuffer.
|
void |
BaseStructure.setIntData(int[] data)
Set the data in this structure to the given array of ints.
|
void |
EventBuilder.setLongData(BaseStructure structure,
long[] data)
Set long data to the structure.
|
void |
BaseStructure.setLongData(java.nio.ByteBuffer byteData)
Set the data in this structure to the longs contained in the given ByteBuffer.
|
void |
BaseStructure.setLongData(long[] data)
Set the data in this structure to the given array of longs.
|
void |
BlockHeaderV2.setMagicNumber(int magicNumber)
Sets the value of magicNumber.
|
void |
BlockHeaderV4.setMagicNumber(int magicNumber)
Sets the value of magicNumber.
|
void |
EventBuilder.setShortData(BaseStructure structure,
short[] data)
Set short data to the structure.
|
void |
BaseStructure.setShortData(java.nio.ByteBuffer byteData)
Set the data in this structure to the shorts contained in the given ByteBuffer.
|
void |
BaseStructure.setShortData(short[] data)
Set the data in this structure to the given array of shorts.
|
void |
BlockHeaderV2.setSize(int size)
Set the size of the block (physical record).
|
void |
BlockHeaderV4.setSize(int size)
Set the size of the block (physical record).
|
void |
BlockHeaderV2.setStart(int start)
Set the starting position of the block (physical record.).
|
void |
EventBuilder.setStringData(BaseStructure structure,
java.lang.String[] data)
Set string data to the structure.
|
void |
CompositeData.swap()
This method swaps the data of this composite type between big and
little endian.
|
static void |
CompositeData.swapAll(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int length,
java.nio.ByteOrder srcOrder)
This method converts (swaps) a buffer of EVIO composite type between big and
little endian.
|
static void |
ByteDataTransformer.swapArray32(byte[] data,
int dataOffset,
int dataLen)
Swap byte array in place assuming bytes are 32 bit ints.
|
static void |
CompositeData.swapData(byte[] src,
int srcOff,
byte[] dest,
int destOff,
int nBytes,
java.util.List<java.lang.Integer> ifmt,
java.nio.ByteOrder srcOrder)
This method converts (swaps) an array of EVIO composite type data
between IEEE (big endian) and DECS (little endian).
|
static void |
CompositeData.swapData(java.nio.ByteBuffer srcBuf,
java.nio.ByteBuffer destBuf,
int srcPos,
int destPos,
int nBytes,
java.util.List<java.lang.Integer> ifmt)
This method converts (swaps) EVIO composite type data
between Big endian and Little endian.
|
static void |
CompositeData.swapData(java.nio.ByteBuffer srcBuf,
java.nio.ByteBuffer destBuf,
int nBytes,
java.util.List<java.lang.Integer> ifmt)
This method converts (swaps) EVIO composite type data
between Big endian and Little endian.
|
static void |
ByteDataTransformer.swapEvent(java.nio.ByteBuffer srcBuffer,
java.nio.ByteBuffer destBuffer,
int srcPos,
int destPos)
This method swaps the byte order of an entire evio event or bank.
|
static void |
ByteDataTransformer.swapEvent(java.nio.ByteBuffer srcBuffer,
java.nio.ByteBuffer destBuffer,
int srcPos,
int destPos,
boolean swapData,
java.util.List<EvioNode> nodeList)
This method swaps the byte order of an entire evio event or bank.
|
static void |
ByteDataTransformer.swapEvent(java.nio.ByteBuffer srcBuffer,
java.nio.ByteBuffer destBuffer,
int srcPos,
int destPos,
java.util.List<EvioNode> nodeList)
This method swaps the byte order of an entire evio event or bank.
|
static void |
ByteDataTransformer.toBitSet(java.util.BitSet bSet,
int bits)
Converts an integer into a BitSet object.
|
static byte[] |
ByteDataTransformer.toBytes(double[] data,
java.nio.ByteOrder byteOrder)
Turn double array into byte array.
|
static void |
ByteDataTransformer.toBytes(double[] data,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Turn double array into byte array.
|
static void |
ByteDataTransformer.toBytes(double data,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Turn double into byte array.
|
static byte[] |
ByteDataTransformer.toBytes(float[] data,
java.nio.ByteOrder byteOrder)
Turn float array into byte array.
|
static void |
ByteDataTransformer.toBytes(float[] data,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Turn float array into byte array.
|
static void |
ByteDataTransformer.toBytes(float data,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Turn float into byte array.
|
static byte[] |
ByteDataTransformer.toBytes(int[] data,
java.nio.ByteOrder byteOrder)
Turn int array into byte array.
|
static void |
ByteDataTransformer.toBytes(int[] data,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Turn int array into byte array.
|
static byte[] |
ByteDataTransformer.toBytes(int[] data,
int offset,
int length,
java.nio.ByteOrder byteOrder)
Turn int array into byte array.
|
static void |
ByteDataTransformer.toBytes(int[] data,
int dataOff,
int dataLen,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Write int array into byte array.
|
static void |
ByteDataTransformer.toBytes(int data,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Turn int into byte array.
|
static byte[] |
ByteDataTransformer.toBytes(long[] data,
java.nio.ByteOrder byteOrder)
Turn long array into byte array.
|
static void |
ByteDataTransformer.toBytes(long[] data,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Turn long array into byte array.
|
static void |
ByteDataTransformer.toBytes(long data,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Turn long into byte array.
|
static byte[] |
ByteDataTransformer.toBytes(short[] data,
java.nio.ByteOrder byteOrder)
Turn short array into byte array.
|
static void |
ByteDataTransformer.toBytes(short[] data,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Turn short array into byte array.
|
static void |
ByteDataTransformer.toBytes(short data,
java.nio.ByteOrder byteOrder,
byte[] dest,
int off)
Turn short into byte array.
|
static byte[] |
ByteDataTransformer.toBytesStream(int[] data,
java.nio.ByteOrder byteOrder)
Turn int array into byte array.
|
static double |
ByteDataTransformer.toDouble(byte[] data,
java.nio.ByteOrder byteOrder,
int off)
Turn section of byte array into a double.
|
static double[] |
ByteDataTransformer.toDoubleArray(byte[] data,
java.nio.ByteOrder byteOrder)
Turn byte array into a double array.
|
static void |
ByteDataTransformer.toDoubleArray(byte[] data,
java.nio.ByteOrder byteOrder,
double[] dest,
int off)
Turn byte array into an double array.
|
static java.util.List<EvioEvent> |
Utilities.toEvents(java.lang.String xmlString)
This method takes a string representation of evio events
(each starting with lt; event gt;)
and converts them to a list of EvioEvent objects.
|
static java.util.List<EvioEvent> |
Utilities.toEvents(java.lang.String xmlString,
int maxEvents,
int skip,
EvioXMLDictionary dictionary,
boolean debug)
This method takes a string representation of evio events
(each starting with lt; event gt;)
and converts them to a list of EvioEvent objects.
|
void |
IEvioCompactReader.toFile(java.io.File file)
Save the internal byte buffer to the given file
(overwrites existing file).
|
void |
EvioCompactReader.toFile(java.io.File file)
Save the internal byte buffer to the given file
(overwrites existing file).
|
void |
IEvioCompactReader.toFile(java.lang.String fileName)
Save the internal byte buffer to the given file
(overwrites existing file).
|
void |
EvioCompactReader.toFile(java.lang.String fileName)
Save the internal byte buffer to the given file
(overwrites existing file).
|
static float |
ByteDataTransformer.toFloat(byte[] data,
java.nio.ByteOrder byteOrder,
int off)
Turn section of byte array into a float.
|
static float[] |
ByteDataTransformer.toFloatArray(byte[] data,
java.nio.ByteOrder byteOrder)
Turn byte array into a float array.
|
static void |
ByteDataTransformer.toFloatArray(byte[] data,
java.nio.ByteOrder byteOrder,
float[] dest,
int off)
Turn byte array into an float array.
|
static int |
ByteDataTransformer.toInt(java.util.BitSet bSet)
Converts a BitSet object into an integer.
|
static int |
ByteDataTransformer.toInt(byte[] data,
java.nio.ByteOrder byteOrder,
int off)
Turn section of byte array into an int.
|
static int[] |
ByteDataTransformer.toIntArray(byte[] data,
java.nio.ByteOrder byteOrder)
Turn byte array into an int array.
|
static void |
ByteDataTransformer.toIntArray(byte[] data,
java.nio.ByteOrder byteOrder,
int[] dest,
int off)
Turn byte array into an int array.
|
static void |
ByteDataTransformer.toIntArray(byte[] data,
int dataOffset,
java.nio.ByteOrder byteOrder,
int[] dest,
int destOffset)
Turn byte array into an int array.
|
static void |
ByteDataTransformer.toIntArray(byte[] data,
int dataOffset,
int dataLen,
java.nio.ByteOrder byteOrder,
int[] dest,
int destOffset)
Turn byte array into an int array.
|
static int |
ByteDataTransformer.toIntArray(java.nio.ByteBuffer byteBuffer,
int[] dest)
Writes ByteBuffer data into an int array.
|
static long |
ByteDataTransformer.toLong(byte[] data,
java.nio.ByteOrder byteOrder,
int off)
Turn section of byte array into a long.
|
static long[] |
ByteDataTransformer.toLongArray(byte[] data,
java.nio.ByteOrder byteOrder)
Turn byte array into a long array.
|
static void |
ByteDataTransformer.toLongArray(byte[] data,
java.nio.ByteOrder byteOrder,
long[] dest,
int off)
Turn byte array into an long array.
|
static short |
ByteDataTransformer.toShort(byte[] data,
java.nio.ByteOrder byteOrder,
int off)
Turn section of byte array into a short.
|
static short[] |
ByteDataTransformer.toShortArray(byte[] data,
java.nio.ByteOrder byteOrder)
Turn byte array into a short array.
|
static void |
ByteDataTransformer.toShortArray(byte[] data,
java.nio.ByteOrder byteOrder,
short[] dest,
int off)
Turn byte array into an short array.
|
static short[] |
ByteDataTransformer.toShortArray(byte[] data,
int padding,
java.nio.ByteOrder byteOrder)
Turn byte array into a short array while taking padding into account.
|
static void |
ByteDataTransformer.toShortArray(byte[] data,
int padding,
java.nio.ByteOrder byteOrder,
short[] dest,
int off)
Turn byte array into a short array while taking padding into account.
|
static java.lang.String |
Utilities.toXML(EvioNode node,
boolean hex)
This method takes an EvioNode object and converts it to a readable, XML String.
|
WriteStatus |
EvioReaderUnsyncV6.toXMLFile(java.lang.String path)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderV4.toXMLFile(java.lang.String path)
Rewrite the file to XML (not including dictionary).
|
WriteStatus |
EvioReader.toXMLFile(java.lang.String path)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderV6.toXMLFile(java.lang.String path)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderUnsyncV4.toXMLFile(java.lang.String path)
Rewrite the file to XML (not including dictionary).
|
WriteStatus |
IEvioReader.toXMLFile(java.lang.String path)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderUnsyncV6.toXMLFile(java.lang.String path,
boolean hex)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderV4.toXMLFile(java.lang.String path,
boolean hex)
Rewrite the file to XML (not including dictionary).
|
WriteStatus |
EvioReader.toXMLFile(java.lang.String path,
boolean hex)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderV6.toXMLFile(java.lang.String path,
boolean hex)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderUnsyncV4.toXMLFile(java.lang.String path,
boolean hex)
Rewrite the file to XML (not including dictionary).
|
WriteStatus |
IEvioReader.toXMLFile(java.lang.String path,
boolean hex)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderUnsyncV6.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderV4.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener)
Rewrite the file to XML (not including dictionary).
|
WriteStatus |
EvioReader.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderV6.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderUnsyncV4.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener)
Rewrite the file to XML (not including dictionary).
|
WriteStatus |
IEvioReader.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderUnsyncV6.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener,
boolean hex)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderV4.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener,
boolean hex)
Rewrite the file to XML (not including dictionary).
|
WriteStatus |
EvioReader.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener,
boolean hex)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderV6.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener,
boolean hex)
Rewrite the file to XML (not including dictionary and "first" event).
|
WriteStatus |
EvioReaderUnsyncV4.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener,
boolean hex)
Rewrite the file to XML (not including dictionary).
|
WriteStatus |
IEvioReader.toXMLFile(java.lang.String path,
IEvioProgressListener progressListener,
boolean hex)
Rewrite the file to XML (not including dictionary and "first" event).
|
static EvioSegment |
StructureTransformer.transform(EvioBank bank)
Create an EvioSegment object from an EvioBank.
|
static EvioTagSegment |
StructureTransformer.transform(EvioBank bank,
int dummy)
Create an EvioTagSegment object from an EvioBank.
|
boolean |
EventWriterUnsync.writeEvent(java.nio.ByteBuffer bankBuffer)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriter.writeEvent(java.nio.ByteBuffer bankBuffer)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriterUnsync.writeEvent(java.nio.ByteBuffer bankBuffer,
boolean force)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriter.writeEvent(java.nio.ByteBuffer bankBuffer,
boolean force)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriterUnsync.writeEvent(EvioBank bank)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriter.writeEvent(EvioBank bank)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriterUnsync.writeEvent(EvioBank bank,
boolean force)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriter.writeEvent(EvioBank bank,
boolean force)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriterUnsync.writeEvent(EvioNode node,
boolean force)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriter.writeEvent(EvioNode node,
boolean force)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriterUnsync.writeEvent(EvioNode node,
boolean force,
boolean duplicate)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriter.writeEvent(EvioNode node,
boolean force,
boolean duplicate)
Write an event (bank) into a record in evio/hipo version 6 format.
|
boolean |
EventWriterUnsync.writeEventToFile(EvioBank bank,
java.nio.ByteBuffer bankBuffer,
boolean force)
Write an event (bank) into a record and eventually to a file in evio/hipo
version 6 format.
|
boolean |
EventWriter.writeEventToFile(EvioBank bank,
java.nio.ByteBuffer bankBuffer,
boolean force)
Write an event (bank) into a record and eventually to a file in evio/hipo
version 6 format.
|
boolean |
EventWriterUnsync.writeEventToFile(EvioNode node,
boolean force,
boolean duplicate)
Write an event (bank) into a record and eventually to a file in evio/hipo
version 6 format.
|
boolean |
EventWriter.writeEventToFile(EvioNode node,
boolean force,
boolean duplicate)
Write an event (bank) into a record and eventually to a file in evio/hipo
version 6 format.
|
Constructor and Description |
---|
CompactEventBuilder(java.nio.ByteBuffer buffer)
This is the constructor to use for building a new event
(just the event in a buffer, not the full evio file format)
with a user-given buffer.
|
CompactEventBuilder(java.nio.ByteBuffer buffer,
boolean generateNodes)
This is the constructor to use for building a new event
(just the event in a buffer, not the full evio file format)
with a user-given buffer.
|
CompactEventBuilder(int bufferSize,
java.nio.ByteOrder order)
This is the constructor to use for building a new event
(just the event in a buffer, not the full evio file format).
|
CompactEventBuilder(int bufferSize,
java.nio.ByteOrder order,
boolean generateNodes)
This is the constructor to use for building a new event
(just the event in a buffer, not the full evio file format).
|
CompositeData(byte[] rawBytes,
java.nio.ByteOrder byteOrder)
Constructor used when reading existing data.
|
CompositeData(java.lang.String format,
CompositeData.Data data)
Constructor used for creating this object from scratch.
|
CompositeData(java.lang.String format,
int formatTag,
CompositeData.Data data,
int dataTag,
int dataNum)
Constructor used for creating this object from scratch.
|
EventWriter(java.nio.ByteBuffer buf)
Create an
EventWriter for writing events to a ByteBuffer. |
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.nio.ByteBuffer buf,
java.lang.String xmlDictionary)
Create an
EventWriter for writing events to a ByteBuffer. |
EventWriter(java.io.File file)
Creates an
EventWriter for writing to a file in native byte order. |
EventWriter(java.io.File file,
boolean append)
Creates an
EventWriter for writing to a file in native byte order. |
EventWriter(java.io.File file,
java.lang.String dictionary,
boolean append)
Creates an
EventWriter for writing to a file in NATIVE byte order. |
EventWriter(java.lang.String filename)
Creates an
EventWriter for writing to a file in native byte order. |
EventWriter(java.lang.String filename,
boolean append)
Creates an
EventWriter for writing to a file in NATIVE byte order. |
EventWriter(java.lang.String filename,
boolean append,
java.nio.ByteOrder byteOrder)
Creates an
EventWriter for writing to a file in the
specified byte order. |
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)
Create an
EventWriter for writing events to a ByteBuffer. |
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.nio.ByteBuffer buf,
java.lang.String xmlDictionary)
Create an
EventWriter for writing events to a ByteBuffer. |
EventWriterUnsync(java.io.File file)
Creates an
EventWriter for writing to a file in native byte order. |
EventWriterUnsync(java.io.File file,
boolean append)
Creates an
EventWriter for writing to a file in native byte order. |
EventWriterUnsync(java.io.File file,
java.lang.String dictionary,
boolean append)
Creates an
EventWriter for writing to a file in NATIVE byte order. |
EventWriterUnsync(java.lang.String filename)
Creates an
EventWriter for writing to a file in native byte order. |
EventWriterUnsync(java.lang.String filename,
boolean append)
Creates an
EventWriter for writing to a file in NATIVE byte order. |
EventWriterUnsync(java.lang.String filename,
boolean append,
java.nio.ByteOrder byteOrder)
Creates an
EventWriter for writing to a file in the
specified byte order. |
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. |
EvioCompactReader(java.nio.ByteBuffer byteBuffer)
Constructor for reading a buffer.
|
EvioCompactReader(java.nio.ByteBuffer byteBuffer,
boolean synced)
Constructor for reading a buffer with option of removing synchronization
for much greater speed.
|
EvioCompactReader(java.nio.ByteBuffer byteBuffer,
EvioNodeSource pool,
boolean synced)
Constructor for reading a buffer with option of removing synchronization
for much greater speed.
|
EvioCompactReader(java.io.File file)
Constructor for reading an event file.
|
EvioCompactReader(java.lang.String path)
Constructor for reading an event file.
|
EvioCompactStructureHandler(java.nio.ByteBuffer byteBuffer,
DataType type)
Constructor for reading a buffer that contains 1 structure only (no block headers).
|
EvioCompactStructureHandler(EvioNode node)
Constructor for reading an EvioNode object.
|
EvioReader(java.nio.ByteBuffer byteBuffer)
Constructor for reading a buffer.
|
EvioReader(java.nio.ByteBuffer byteBuffer,
boolean checkBlkNumSeq)
Constructor for reading a buffer.
|
EvioReader(java.nio.ByteBuffer byteBuffer,
boolean checkRecNumSeq,
boolean synced)
Constructor for reading a buffer with option of removing synchronization
for much greater speed.
|
EvioReader(java.io.File file)
Constructor for reading an event file.
|
EvioReader(java.io.File file,
boolean checkBlkNumSeq)
Constructor for reading an event file.
|
EvioReader(java.io.File file,
boolean checkRecNumSeq,
boolean sequential)
Constructor for reading an event file.
|
EvioReader(java.io.File file,
boolean checkRecNumSeq,
boolean sequential,
boolean synced)
Constructor for reading an event file.
|
EvioReader(java.lang.String path)
Constructor for reading an event file.
|
EvioReader(java.lang.String path,
boolean checkBlkNumSeq)
Constructor for reading an event file.
|
EvioReader(java.lang.String path,
boolean checkBlkNumSeq,
boolean sequential)
Constructor for reading an event file.
|
EvioReaderUnsyncV4(java.nio.ByteBuffer byteBuffer)
Constructor for reading a buffer.
|
EvioReaderUnsyncV4(java.nio.ByteBuffer byteBuffer,
boolean checkBlkNumSeq)
Constructor for reading a buffer.
|
EvioReaderUnsyncV4(java.io.File file)
Constructor for reading an event file.
|
EvioReaderUnsyncV4(java.io.File file,
boolean checkBlkNumSeq)
Constructor for reading an event file.
|
EvioReaderUnsyncV4(java.io.File file,
boolean checkBlkNumSeq,
boolean sequential)
Constructor for reading an event file.
|
EvioReaderUnsyncV4(java.lang.String path)
Constructor for reading an event file.
|
EvioReaderUnsyncV4(java.lang.String path,
boolean checkBlkNumSeq)
Constructor for reading an event file.
|
EvioReaderUnsyncV4(java.lang.String path,
boolean checkBlkNumSeq,
boolean sequential)
Constructor for reading an event file.
|
EvioReaderUnsyncV6(java.nio.ByteBuffer byteBuffer)
Constructor for reading a buffer.
|
EvioReaderUnsyncV6(java.nio.ByteBuffer byteBuffer,
boolean checkRecNumSeq)
Constructor for reading a buffer.
|
EvioReaderUnsyncV6(java.io.File file)
Constructor for reading an event file.
|
EvioReaderUnsyncV6(java.lang.String path)
Constructor for reading an event file.
|
EvioReaderUnsyncV6(java.lang.String path,
boolean checkRecNumSeq)
Constructor for reading an event file.
|
EvioReaderV4(java.nio.ByteBuffer byteBuffer)
Constructor for reading a buffer.
|
EvioReaderV4(java.nio.ByteBuffer byteBuffer,
boolean checkBlkNumSeq)
Constructor for reading a buffer.
|
EvioReaderV4(java.io.File file)
Constructor for reading an event file.
|
EvioReaderV4(java.io.File file,
boolean checkBlkNumSeq)
Constructor for reading an event file.
|
EvioReaderV4(java.io.File file,
boolean checkBlkNumSeq,
boolean sequential)
Constructor for reading an event file.
|
EvioReaderV4(java.lang.String path)
Constructor for reading an event file.
|
EvioReaderV4(java.lang.String path,
boolean checkBlkNumSeq)
Constructor for reading an event file.
|
EvioReaderV4(java.lang.String path,
boolean checkBlkNumSeq,
boolean sequential)
Constructor for reading an event file.
|
EvioReaderV6(java.nio.ByteBuffer byteBuffer)
Constructor for reading a buffer.
|
EvioReaderV6(java.nio.ByteBuffer byteBuffer,
boolean checkRecNumSeq)
Constructor for reading a buffer.
|
EvioReaderV6(java.io.File file)
Constructor for reading an event file.
|
EvioReaderV6(java.lang.String path)
Constructor for reading an event file.
|
EvioReaderV6(java.lang.String path,
boolean checkRecNumSeq)
Constructor for reading an event file.
|