Package org.jlab.io.hipo
Class HipoDataEvent
java.lang.Object
org.jlab.io.hipo.HipoDataEvent
- All Implemented Interfaces:
DataEvent
- Author:
- gavalian
-
Constructor Summary
ConstructorsConstructorDescriptionHipoDataEvent
(byte[] array, org.jlab.jnp.hipo4.data.SchemaFactory factory) HipoDataEvent
(org.jlab.jnp.hipo4.data.Event event) HipoDataEvent
(org.jlab.jnp.hipo4.data.Event event, org.jlab.jnp.hipo4.data.SchemaFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSchema
(org.jlab.jnp.hipo4.data.Schema schema) void
addSchemaList
(List<org.jlab.jnp.hipo4.data.Schema> schemaList) void
appendBank
(DataBank bank) void
appendBanks
(DataBank... bank) void
appendByte
(String path, byte[] arr) void
appendDouble
(String path, double[] arr) void
appendFloat
(String path, float[] arr) void
void
appendLong
(String path, long[] arr) void
appendShort
(String path, short[] arr) createBank
(String bank_name, int rows) void
String[]
byte[]
String[]
getColumnList
(String bank_name) double[]
float[]
org.jlab.jnp.hipo4.data.Event
int[]
long[]
getProperty
(String property) short[]
getType()
boolean
void
initDictionary
(org.jlab.jnp.hipo4.data.SchemaFactory factory) void
removeBank
(String bankName) void
removeBanks
(String... bankNames) void
void
void
void
void
void
setProperty
(String property, String value) void
void
setType
(DataEventType type) void
show()
void
showBankByOrder
(int order)
-
Constructor Details
-
HipoDataEvent
public HipoDataEvent(byte[] array, org.jlab.jnp.hipo4.data.SchemaFactory factory) -
HipoDataEvent
public HipoDataEvent(org.jlab.jnp.hipo4.data.Event event) -
HipoDataEvent
public HipoDataEvent(org.jlab.jnp.hipo4.data.Event event, org.jlab.jnp.hipo4.data.SchemaFactory factory)
-
-
Method Details
-
getHipoEvent
public org.jlab.jnp.hipo4.data.Event getHipoEvent() -
initDictionary
public void initDictionary(org.jlab.jnp.hipo4.data.SchemaFactory factory) -
getBankList
- Specified by:
getBankList
in interfaceDataEvent
-
getColumnList
- Specified by:
getColumnList
in interfaceDataEvent
-
addSchema
public void addSchema(org.jlab.jnp.hipo4.data.Schema schema) -
addSchemaList
-
getDictionary
- Specified by:
getDictionary
in interfaceDataEvent
-
getEventBuffer
- Specified by:
getEventBuffer
in interfaceDataEvent
-
appendBank
- Specified by:
appendBank
in interfaceDataEvent
-
appendBanks
- Specified by:
appendBanks
in interfaceDataEvent
-
hasBank
-
getBank
-
getBank
-
setProperty
- Specified by:
setProperty
in interfaceDataEvent
-
getProperty
- Specified by:
getProperty
in interfaceDataEvent
-
getDouble
-
setDouble
-
appendDouble
- Specified by:
appendDouble
in interfaceDataEvent
-
getFloat
-
setFloat
-
appendFloat
- Specified by:
appendFloat
in interfaceDataEvent
-
getInt
-
setInt
-
appendInt
-
getShort
-
setShort
-
appendShort
- Specified by:
appendShort
in interfaceDataEvent
-
getByte
-
setByte
-
appendByte
- Specified by:
appendByte
in interfaceDataEvent
-
setType
-
getType
-
show
public void show() -
showBankByOrder
public void showBankByOrder(int order) -
createBank
- Specified by:
createBank
in interfaceDataEvent
-
removeBank
- Specified by:
removeBank
in interfaceDataEvent
-
removeBanks
- Specified by:
removeBanks
in interfaceDataEvent
-
getLong
-
setLong
-
appendLong
- Specified by:
appendLong
in interfaceDataEvent
-