Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.swrl.bridge.query
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.


Field Summary
static String AvgAggregateFunction
           
static String CountAggregateFunction
           
static String MaxAggregateFunction
           
static String MinAggregateFunction
           
static String SumAggregateFunction
           
 
Method Summary
 void addAggregateColumn(String columnName, String aggregateFunctionName)
           
 void addColumn(String columnName)
           
 void addColumnDisplayName(String columnName)
           
 void addColumns(List<String> columnNames)
           
 void addOrderByColumn(int orderedColumnIndex, boolean ascending)
           
 void addRow(List<ResultValue> resultValues)
           
 void addRowData(ResultValue value)
           
 void closeRow()
           
 void configured()
           
 void initialize()
           
 boolean isAscending()
           
 boolean isConfigured()
           
 boolean isOrdered()
           
 boolean isPrepared()
           
 boolean isRowOpen()
           
 void openRow()
           
 void prepared()
           
 void setIsDistinct()
           
 

Field Detail

MinAggregateFunction

static final String MinAggregateFunction
See Also:
Constant Field Values

MaxAggregateFunction

static final String MaxAggregateFunction
See Also:
Constant Field Values

SumAggregateFunction

static final String SumAggregateFunction
See Also:
Constant Field Values

AvgAggregateFunction

static final String AvgAggregateFunction
See Also:
Constant Field Values

CountAggregateFunction

static final String CountAggregateFunction
See Also:
Constant Field Values
Method Detail

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

Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.