Class HipoDataSync

java.lang.Object
org.jlab.io.hipo.HipoDataSync
All Implemented Interfaces:
DataSync

public class HipoDataSync extends Object implements DataSync
Author:
gavalian
  • Field Details

    • LOGGER

      public static Logger LOGGER
  • Constructor Details

    • HipoDataSync

      public HipoDataSync()
    • HipoDataSync

      public HipoDataSync(org.jlab.jnp.hipo4.data.SchemaFactory factory)
  • Method Details

    • open

      public void open(String file)
      Specified by:
      open in interface DataSync
    • addSchema

      public void addSchema(org.jlab.jnp.hipo4.data.Schema schema)
    • addSchemaList

      public void addSchemaList(List<org.jlab.jnp.hipo4.data.Schema> schemaList)
    • writeEvent

      public void writeEvent(DataEvent event)
      Specified by:
      writeEvent in interface DataSync
    • getWriter

      public org.jlab.jnp.hipo4.io.HipoWriterSorted getWriter()
    • close

      public void close()
      Specified by:
      close in interface DataSync
    • setCompressionType

      public void setCompressionType(int type)
    • createEvent

      public DataEvent createEvent()
      Specified by:
      createEvent in interface DataSync
    • printUsage

      public static void printUsage()
    • main

      public static void main(String[] args)