edu.stanford.smi.protegex.owl.swrl.sqwrl
Interface ResultGenerator
- All Known Implementing Classes:
- ResultImpl
public interface ResultGenerator
Interface to configure a result and add data to it. See the Result class for detailed comments.
initialize
void initialize()
addColumns
void addColumns(List<String> columnNames)
throws ResultException
- Throws:
ResultException
addColumn
void addColumn(String columnName)
throws ResultException
- Throws:
ResultException
addAggregateColumn
void addAggregateColumn(String columnName,
String aggregateFunctionName)
throws ResultException
- Throws:
ResultException
addOrderByColumn
void addOrderByColumn(int orderedColumnIndex,
boolean ascending)
throws ResultException
- Throws:
ResultException
isOrdered
boolean isOrdered()
isAscending
boolean isAscending()
setIsDistinct
void setIsDistinct()
addColumnDisplayName
void addColumnDisplayName(String columnName)
throws ResultException
- Throws:
ResultException
isConfigured
boolean isConfigured()
configured
void configured()
throws ResultException
- Throws:
ResultException
addRow
void addRow(List<ResultValue> resultValues)
throws ResultException
- Throws:
ResultException
openRow
void openRow()
throws ResultException
- Throws:
ResultException
addRowData
void addRowData(ResultValue value)
throws ResultException
- Throws:
ResultException
closeRow
void closeRow()
throws ResultException
- Throws:
ResultException
isRowOpen
boolean isRowOpen()
isPrepared
boolean isPrepared()
prepared
void prepared()
throws ResultException
- Throws:
ResultException
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.