com.syncsoft.plainsql
Class InternalRow

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<java.lang.Object>
              extended by com.syncsoft.plainsql.InternalRow
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.Object>, java.util.Collection<java.lang.Object>, java.util.List<java.lang.Object>, java.util.RandomAccess

public class InternalRow
extends java.util.ArrayList<java.lang.Object>

Inside the RowSet we use column numbers instead of names to save memory. THis class represents that structure and provides constructor to convert from row to internal structure and a method to convert back

See Also:
Serialized Form

Constructor Summary
InternalRow(RowSet rs, Row row)
           
 
Method Summary
 Row getRow()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

InternalRow

public InternalRow(RowSet rs,
                   Row row)
Method Detail

getRow

public Row getRow()
           throws java.sql.SQLException
Throws:
java.sql.SQLException