edu.stanford.smi.protegex.owl.swrl.bridge.query
Interface Result
- All Known Implementing Classes:
- ResultImpl
public interface Result
Interface that defines methods to process results from a SWRL query. See here for documentation.
getColumnNames
List<String> getColumnNames()
throws ResultException
- Throws:
ResultException
getNumberOfColumns
int getNumberOfColumns()
throws ResultException
- Throws:
ResultException
getColumnName
String getColumnName(int columnIndex)
throws ResultException
- Throws:
ResultException
getNumberOfRows
int getNumberOfRows()
throws ResultException
- Throws:
ResultException
reset
void reset()
throws ResultException
- Throws:
ResultException
next
void next()
throws ResultException
- Throws:
ResultException
hasNext
boolean hasNext()
throws ResultException
- Throws:
ResultException
hasObjectValue
boolean hasObjectValue(String columnName)
throws ResultException
- Throws:
ResultException
hasObjectValue
boolean hasObjectValue(int columnIndex)
throws ResultException
- Throws:
ResultException
hasDatatypeValue
boolean hasDatatypeValue(String columnName)
throws ResultException
- Throws:
ResultException
hasDatatypeValue
boolean hasDatatypeValue(int columnIndex)
throws ResultException
- Throws:
ResultException
hasClassValue
boolean hasClassValue(String columnName)
throws ResultException
- Throws:
ResultException
hasClassValue
boolean hasClassValue(int columnIndex)
throws ResultException
- Throws:
ResultException
hasPropertyValue
boolean hasPropertyValue(String columnName)
throws ResultException
- Throws:
ResultException
hasPropertyValue
boolean hasPropertyValue(int columnIndex)
throws ResultException
- Throws:
ResultException
getRow
List<ResultValue> getRow()
throws ResultException
- Throws:
ResultException
getValue
ResultValue getValue(String columnName)
throws ResultException
- Throws:
ResultException
getValue
ResultValue getValue(int columnIndex)
throws ResultException
- Throws:
ResultException
getValue
ResultValue getValue(int columnIndex,
int rowIndex)
throws ResultException
- Throws:
ResultException
getObjectValue
ObjectValue getObjectValue(String columnName)
throws ResultException
- Throws:
ResultException
getObjectValue
ObjectValue getObjectValue(int columnIndex)
throws ResultException
- Throws:
ResultException
getDatatypeValue
DatatypeValue getDatatypeValue(String columnName)
throws ResultException
- Throws:
ResultException
getDatatypeValue
DatatypeValue getDatatypeValue(int columnIndex)
throws ResultException
- Throws:
ResultException
getClassValue
ClassValue getClassValue(String columnName)
throws ResultException
- Throws:
ResultException
getClassValue
ClassValue getClassValue(int columnIndex)
throws ResultException
- Throws:
ResultException
getPropertyValue
PropertyValue getPropertyValue(String columnName)
throws ResultException
- Throws:
ResultException
getPropertyValue
PropertyValue getPropertyValue(int columnIndex)
throws ResultException
- Throws:
ResultException
getColumn
List<ResultValue> getColumn(String columnName)
throws ResultException
- Throws:
ResultException
getColumn
List<ResultValue> getColumn(int columnIndex)
throws ResultException
- Throws:
ResultException
Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.