public class MemoryData extends java.lang.Object implements Data
Modifier and Type | Field and Description |
---|---|
protected int |
currentRow |
Constructor and Description |
---|
MemoryData() |
MemoryData(Data data,
int numColumns) |
Modifier and Type | Method and Description |
---|---|
void |
addRow(java.lang.Object[] row)
Add a row of data
|
void |
dump() |
java.lang.Object |
get(int index)
get the data at a certain column
|
java.lang.Object[] |
getRow(int index) |
boolean |
next()
goto the next (or first) row
|
void |
sort(int[] sortBy,
boolean[] ascending)
sort the data set by the given columns
each column is sorted seperate
|
public MemoryData()
public MemoryData(Data data, int numColumns) throws java.sql.SQLException
java.sql.SQLException
public boolean next() throws java.sql.SQLException
public java.lang.Object get(int index)
public java.lang.Object[] getRow(int index)
public void addRow(java.lang.Object[] row)
public void sort(int[] sortBy, boolean[] ascending) throws java.sql.SQLException
java.sql.SQLException
public void dump()
Copyright © 2014 Open Microscopy Environment