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