Interface IDataSet
public interface IDataSet
Script wrapper of OdaDataSetHandle
-
Method Summary
Modifier and TypeMethodDescriptionGets result set column of cached metadata.ReturnsIDataSource
for this data set.Returns a private driver property value with the given property name.Returns the query text.void
setPrivateDriverProperty
(String name, String value) Sets a private driver property value with the given name and value.void
setQueryText
(String query) Sets the query text.
-
Method Details
-
getDataSource
IDataSource getDataSource()ReturnsIDataSource
for this data set.- Returns:
- IDataSource
-
getQueryText
String getQueryText()Returns the query text.- Returns:
- the query text.
-
setQueryText
Sets the query text.- Parameters:
query
- the text to set- Throws:
ScriptException
- if this property is locked.
-
getPrivateDriverProperty
Returns a private driver property value with the given property name.- Parameters:
name
- the name of a public driver property- Returns:
- a public driver property value
-
setPrivateDriverProperty
Sets a private driver property value with the given name and value. If the property does not exist, it will be added into the property list. If the property already exists, the value of the property will be overwritten.- Parameters:
name
- the name of a public driver propertyvalue
- the value of a public driver property- Throws:
ScriptException
- ifname
isnull
or an empty string after trimming.
-
getCachedResultSetColumns
List getCachedResultSetColumns()Gets result set column of cached metadata.- Returns:
- collection each iteam is
IResultSetColumn
.
-