org.teiid.client
Class BatchSerializer

java.lang.Object
  extended by org.teiid.client.BatchSerializer

public class BatchSerializer
extends Object

Since:
4.2

Nested Class Summary
static class BatchSerializer.ObjectColumnSerializer1
           
 
Method Summary
static List<List<Object>> readBatch(ObjectInput in, String[] types)
           
static List<List<Object>> readBatch(ObjectInput in, String[] types, byte version)
           
static void writeBatch(ObjectOutput out, String[] types, List<? extends List<?>> batch)
           
static void writeBatch(ObjectOutput out, String[] types, List<? extends List<?>> batch, byte version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeBatch

public static void writeBatch(ObjectOutput out,
                              String[] types,
                              List<? extends List<?>> batch)
                       throws IOException
Throws:
IOException

writeBatch

public static void writeBatch(ObjectOutput out,
                              String[] types,
                              List<? extends List<?>> batch,
                              byte version)
                       throws IOException
Throws:
IOException

readBatch

public static List<List<Object>> readBatch(ObjectInput in,
                                           String[] types)
                                    throws IOException,
                                           ClassNotFoundException
Throws:
IOException
ClassNotFoundException

readBatch

public static List<List<Object>> readBatch(ObjectInput in,
                                           String[] types,
                                           byte version)
                                    throws IOException,
                                           ClassNotFoundException
Throws:
IOException
ClassNotFoundException


Copyright © 2012. All Rights Reserved.