Class HipoDataSync
java.lang.Object
org.jlab.io.hipo.HipoDataSync
- All Implemented Interfaces:
DataSync
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSchema(org.jlab.jnp.hipo4.data.Schema schema) voidaddSchemaList(List<org.jlab.jnp.hipo4.data.Schema> schemaList) voidclose()org.jlab.jnp.hipo4.io.HipoWriterSortedstatic voidvoidstatic voidvoidsetCompressionType(int type) voidwriteEvent(DataEvent event)
-
Field Details
-
LOGGER
-
-
Constructor Details
-
HipoDataSync
public HipoDataSync() -
HipoDataSync
public HipoDataSync(org.jlab.jnp.hipo4.data.SchemaFactory factory)
-
-
Method Details
-
open
-
addSchema
public void addSchema(org.jlab.jnp.hipo4.data.Schema schema) -
addSchemaList
-
writeEvent
- Specified by:
writeEventin interfaceDataSync
-
getWriter
public org.jlab.jnp.hipo4.io.HipoWriterSorted getWriter() -
close
-
setCompressionType
public void setCompressionType(int type) -
createEvent
- Specified by:
createEventin interfaceDataSync
-
printUsage
public static void printUsage() -
main
-