|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.query.QueryResultsTableBuilder
A TableQueryResultListener that can be used to build a QueryResultsTable.
QueryResultsTable| Constructor Summary | |
QueryResultsTableBuilder()
Creates a new QueryResultsTableBuilder. |
|
| Method Summary | |
void |
clear()
Clear the builder. |
void |
endTableQueryResult()
Method needed by the TableQueryResultListener interface. |
void |
endTuple()
Method needed by the TableQueryResultListener interface. |
void |
error(QueryErrorType errType,
String msg)
Reports an error that has occurred during the query evaluation. |
QueryResultsTable |
getQueryResultsTable()
Gets the QueryResultsTable that has been built. |
void |
startTableQueryResult()
Method needed by the TableQueryResultListener interface. |
void |
startTableQueryResult(String[] columnHeaders)
Indicates the start of a table-like query result. |
void |
startTuple()
Method needed by the TableQueryResultListener interface. |
void |
tupleValue(Value value)
Method needed by the TableQueryResultListener interface. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QueryResultsTableBuilder()
| Method Detail |
public QueryResultsTable getQueryResultsTable()
public void clear()
public void startTableQueryResult()
startTableQueryResult in interface TableQueryResultListenerpublic void startTableQueryResult(String[] columnHeaders)
TableQueryResultListener
startTableQueryResult in interface TableQueryResultListenerpublic void endTableQueryResult()
endTableQueryResult in interface TableQueryResultListenerpublic void startTuple()
startTuple in interface TableQueryResultListenerpublic void endTuple()
endTuple in interface TableQueryResultListenerpublic void tupleValue(Value value)
tupleValue in interface TableQueryResultListenervalue - The next value in the current tuple/row.
public void error(QueryErrorType errType,
String msg)
throws IOException
TableQueryResultListener
error in interface TableQueryResultListenererrType - The type of error.msg - A message describing the error.
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||