com.metsci.glimpse.dspl.parser
Class ColumnBinaryParser

java.lang.Object
  extended by com.metsci.glimpse.dspl.parser.ColumnBinaryParser
All Implemented Interfaces:
TableParser, TableWriter

public class ColumnBinaryParser
extends java.lang.Object
implements TableParser, TableWriter


Field Summary
static java.lang.String ENCODING
           
static int MAGIC
           
 
Constructor Summary
ColumnBinaryParser()
           
 
Method Summary
 ParserUtils.SimpleParserFactory createParserFactory()
           
 boolean isCachable()
           
 PropertyTableData parse(Concept concept)
           
 PropertyTableData parse(Concept concept, java.io.InputStream stream)
           
 PropertyTableData parse(Concept concept, java.nio.channels.ReadableByteChannel byteChannel)
           
 SliceTableData parse(Slice slice)
           
 SliceTableData parse(Slice slice, java.io.InputStream stream)
           
 SliceTableData parse(Slice slice, java.nio.channels.ReadableByteChannel byteChannel)
           
 void write(Concept concept, PropertyTableData data, java.io.OutputStream stream)
           
 void write(Concept concept, PropertyTableData data, java.nio.channels.WritableByteChannel byteChannel)
           
 void write(Slice slice, SliceTableData data, java.io.OutputStream stream)
           
 void write(Slice slice, SliceTableData data, java.nio.channels.WritableByteChannel byteChannel)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAGIC

public static final int MAGIC
See Also:
Constant Field Values

ENCODING

public static final java.lang.String ENCODING
See Also:
Constant Field Values
Constructor Detail

ColumnBinaryParser

public ColumnBinaryParser()
Method Detail

createParserFactory

public ParserUtils.SimpleParserFactory createParserFactory()

write

public void write(Slice slice,
                  SliceTableData data,
                  java.nio.channels.WritableByteChannel byteChannel)
           throws java.io.IOException,
                  DsplException,
                  javax.xml.bind.JAXBException
Specified by:
write in interface TableWriter
Throws:
java.io.IOException
DsplException
javax.xml.bind.JAXBException

write

public void write(Slice slice,
                  SliceTableData data,
                  java.io.OutputStream stream)
           throws java.io.IOException,
                  DsplException,
                  javax.xml.bind.JAXBException
Specified by:
write in interface TableWriter
Throws:
java.io.IOException
DsplException
javax.xml.bind.JAXBException

write

public void write(Concept concept,
                  PropertyTableData data,
                  java.nio.channels.WritableByteChannel byteChannel)
           throws java.io.IOException,
                  DsplException,
                  javax.xml.bind.JAXBException
Specified by:
write in interface TableWriter
Throws:
java.io.IOException
DsplException
javax.xml.bind.JAXBException

write

public void write(Concept concept,
                  PropertyTableData data,
                  java.io.OutputStream stream)
           throws java.io.IOException,
                  DsplException,
                  javax.xml.bind.JAXBException
Specified by:
write in interface TableWriter
Throws:
java.io.IOException
DsplException
javax.xml.bind.JAXBException

parse

public SliceTableData parse(Slice slice)
                     throws java.io.IOException,
                            javax.xml.bind.JAXBException,
                            DsplException
Specified by:
parse in interface TableParser
Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException

parse

public PropertyTableData parse(Concept concept)
                        throws java.io.IOException,
                               javax.xml.bind.JAXBException,
                               DsplException
Specified by:
parse in interface TableParser
Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException

parse

public PropertyTableData parse(Concept concept,
                               java.io.InputStream stream)
                        throws java.io.IOException,
                               javax.xml.bind.JAXBException,
                               DsplException
Specified by:
parse in interface TableParser
Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException

parse

public PropertyTableData parse(Concept concept,
                               java.nio.channels.ReadableByteChannel byteChannel)
                        throws java.io.IOException,
                               javax.xml.bind.JAXBException,
                               DsplException
Specified by:
parse in interface TableParser
Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException

parse

public SliceTableData parse(Slice slice,
                            java.io.InputStream stream)
                     throws java.io.IOException,
                            javax.xml.bind.JAXBException,
                            DsplException
Specified by:
parse in interface TableParser
Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException

parse

public SliceTableData parse(Slice slice,
                            java.nio.channels.ReadableByteChannel byteChannel)
                     throws java.io.IOException,
                            javax.xml.bind.JAXBException,
                            DsplException
Specified by:
parse in interface TableParser
Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException

isCachable

public boolean isCachable()
Specified by:
isCachable in interface TableParser


Copyright © 2012 Metron, Inc.. All Rights Reserved.