|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
edu.ucsb.nceas.morpho.query.ResultSet | +--edu.ucsb.nceas.morpho.query.HeadResultSet
A HeadResultSet encapsulates the list of results returned from either a local query or a Metacat query, but only presents the most recent revision of a document as part of the Table Model.
Fields inherited from class edu.ucsb.nceas.morpho.query.ResultSet |
blankIcon,
CREATEDATEINDEX,
DOCIDINDEX,
DOCNAMEINDEX,
DOCTYPEINDEX,
ISLOCALINDEX,
ISMETACATINDEX,
KEYWORDSINDEX,
localIcon,
metacatIcon,
packageDataIcon,
packageIcon,
PACKAGEICONINDEX,
resultsVector,
SURNAMEINDEX,
TITLEINDEX,
TRIPLEINDEX,
UPDATEDATEINDEX |
Constructor Summary | |
HeadResultSet(Query query,
java.lang.String source,
java.io.InputStream resultsXMLStream,
Morpho morpho)
Construct a HeadResultSet instance given a query object and a InputStream that represents an XML encoding of the results. |
|
HeadResultSet(Query query,
java.lang.String source,
java.util.Vector vec,
Morpho morpho)
Construct a HeadResultSet instance from a vector of vectors; for use with LocalQuery |
Method Summary | |
java.util.Vector |
getResultsVector()
get the resultsVector |
int |
getRowCount()
Return the number of records in this result set |
java.lang.Object |
getValueAt(int row,
int col)
Determine the value of a column by its row and column index |
void |
merge(ResultSet r2)
Merge a ResultSet onto this one using the docid as the join column |
void |
openResultRecord(int row)
Open a given row index of the result set using a delegated handler class |
void |
sortTableByColumn(int col,
java.lang.String order)
Method implements from SortTableModel. |
Methods inherited from class edu.ucsb.nceas.morpho.query.ResultSet |
characters,
endDocument,
endElement,
endPrefixMapping,
getColumnClass,
getColumnCount,
getColumnName,
getFramework,
getQuery,
getRowHeight,
ignorableWhitespace,
lookupResultsVectorIndex,
openResultRecord,
processingInstruction,
setDocumentLocator,
setQuery,
setResultsVector,
skippedEntity,
startDocument,
startElement,
startPrefixMapping |
Constructor Detail |
public HeadResultSet(Query query, java.lang.String source, java.io.InputStream resultsXMLStream, Morpho morpho)
public HeadResultSet(Query query, java.lang.String source, java.util.Vector vec, Morpho morpho)
Method Detail |
public int getRowCount()
public java.util.Vector getResultsVector()
public java.lang.Object getValueAt(int row, int col)
public void openResultRecord(int row)
public void merge(ResultSet r2)
public void sortTableByColumn(int col, java.lang.String order)
col,
- the index of column which need to be sortedorder,
- the sort order
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |