Package | Description |
---|---|
org.jlab.coda.hipo | |
org.jlab.coda.jevio |
Modifier and Type | Method and Description |
---|---|
EvioNode |
Reader.getEventNode(int index)
Get an EvioNode representing the specified event from the buffer.
|
EvioNode |
Reader.getNextEventNode()
Get an EvioNode representing the next event from the buffer while sequentially reading.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<EvioNode> |
Reader.getEventNodes()
Get the list of EvioNode objects contained in the buffer being read.
|
Modifier and Type | Method and Description |
---|---|
void |
Writer.addEvent(EvioNode node)
Add an EvioNode to the internal record.
|
void |
WriterMT.addEvent(EvioNode node)
Add an EvioNode to the internal record.
|
boolean |
RecordOutputStream.addEvent(EvioNode node)
Adds an event's ByteBuffer into the record.
|
boolean |
RecordOutputStream.addEvent(EvioNode node,
int extraDataLen)
Adds an event's ByteBuffer into the record.
|
java.nio.ByteBuffer |
Reader.removeStructure(EvioNode removeNode)
This method removes the data, represented by the given node, from the buffer.
|
Modifier and Type | Method and Description |
---|---|
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.
|
EvioNode |
EvioNode.getChildAt(int index)
Get the child node at the given index (starts at 0).
|
EvioNode |
IEvioCompactReader.getEvent(int eventNumber)
Get the EvioNode object associated with a particular event number.
|
EvioNode |
EvioCompactReader.getEvent(int eventNumber)
Get the EvioNode object associated with a particular event number.
|
EvioNode |
EvioNodePool.getNode()
Get a single EvioNode object.
|
EvioNode |
EvioNodeSource.getNode()
Get a single EvioNode object.
|
EvioNode |
EvioNode.getParentNode()
Get this node's parent node.
|
EvioNode |
IEvioCompactReader.getScannedEvent(int eventNumber)
Get the EvioNode object associated with a particular event number
which has been scanned so all substructures are contained in the
node.allNodes list.
|
EvioNode |
EvioCompactReader.getScannedEvent(int eventNumber)
Get the EvioNode object associated with a particular event number
which has been scanned so all substructures are contained in the
node.allNodes list.
|
EvioNode |
IEvioCompactReader.getScannedEvent(int eventNumber,
EvioNodeSource nodeSource)
Get the EvioNode object associated with a particular event number
which has been scanned so all substructures are contained in the
node.allNodes list.
|
EvioNode |
EvioCompactReader.getScannedEvent(int eventNumber,
EvioNodeSource nodeSource)
Get the EvioNode object associated with a particular event number
which has been scanned so all substructures are contained in the
node.allNodes list.
|
EvioNode |
EvioCompactStructureHandler.getScannedStructure()
Get the EvioNode object associated with a particular event number
which has been scanned so all substructures are contained in the
node.allNodes list.
|
EvioNode |
EvioCompactStructureHandler.getStructure()
Get the EvioNode object associated with the structure.
|
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.
|
EvioNode |
EvioNode.shift(int deltaPos)
Shift the positions (pos, dataPos, and recordPos) of this node and its
children by a fixed amount.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<EvioNode> |
EvioNode.getAllNodes()
Get the list of all nodes that this node contains,
always including itself.
|
java.util.List<EvioNode> |
EvioCompactStructureHandler.getChildNodes()
This method returns an unmodifiable list of all
evio structures in buffer as EvioNode objects.
|
java.util.ArrayList<EvioNode> |
EvioNode.getChildNodes()
Get the list of all child nodes that this node contains.
|
java.util.List<EvioNode> |
EvioCompactStructureHandler.getNodes()
This method returns an unmodifiable list of all
evio structures in buffer as EvioNode objects.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
CompactEventBuilder.addEvioNode(EvioNode node)
Adds the evio structure represented by the EvioNode object
into the buffer.
|
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.
|
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.
|
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.
|
static EvioEvent |
Utilities.nodeToEvent(EvioNode node)
This method takes an EvioNode object and converts it to an EvioEvent object.
|
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 |
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.
|
static java.lang.String |
Utilities.toXML(EvioNode node,
boolean hex)
This method takes an EvioNode object and converts it to a readable, XML String.
|
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(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.
|
Modifier and Type | Method and Description |
---|---|
void |
EvioNode.getAllDescendants(java.util.List<EvioNode> descendants)
Get the list of all descendant nodes that this node contains -
not only the immediate children.
|
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.
|
Constructor and Description |
---|
EvioCompactStructureHandler(EvioNode node)
Constructor for reading an EvioNode object.
|