org.pentaho.platform.plugin.services.connections.javascript
Class JavaScriptResultSet
java.lang.Object
ScriptableObject
org.pentaho.platform.plugin.services.connections.javascript.JavaScriptResultSet
public class JavaScriptResultSet
- extends ScriptableObject
Method Summary |
void |
addRow(Object[] row)
|
void |
addRow(String[] row)
|
void |
beforeFirst()
|
void |
close()
|
void |
closeConnection()
|
void |
dispose()
|
String |
getClassName()
|
int |
getColumnCount()
|
Object[] |
getDataColumn(int column)
|
Object[] |
getDataRow(int row)
|
IPentahoMetaData |
getMetaData()
|
int |
getRowCount()
|
Object |
getValueAt(int row,
int column)
|
boolean |
isScrollable()
|
static Object |
jsFunction_addRow(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
|
static Object |
jsFunction_getColumnCount(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
|
static Object |
jsFunction_getRowCount(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
|
static Object |
jsFunction_getValueAt(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
|
static Object |
jsFunction_setColumnHeaders(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
|
IPentahoResultSet |
memoryCopy()
|
Object[] |
next()
|
void |
rewindNext()
|
void |
setMetaData(IPentahoMetaData metaData)
|
void |
setResultSet(IPentahoResultSet pResults)
|
String |
toString()
|
JavaScriptResultSet
public JavaScriptResultSet()
setResultSet
public void setResultSet(IPentahoResultSet pResults)
getClassName
public String getClassName()
jsFunction_getColumnCount
public static Object jsFunction_getColumnCount(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
jsFunction_getRowCount
public static Object jsFunction_getRowCount(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
jsFunction_getValueAt
public static Object jsFunction_getValueAt(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
jsFunction_setColumnHeaders
public static Object jsFunction_setColumnHeaders(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
jsFunction_addRow
public static Object jsFunction_addRow(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
setMetaData
public void setMetaData(IPentahoMetaData metaData)
addRow
public void addRow(String[] row)
addRow
public void addRow(Object[] row)
toString
public String toString()
getMetaData
public IPentahoMetaData getMetaData()
rewindNext
public void rewindNext()
next
public Object[] next()
close
public void close()
closeConnection
public void closeConnection()
dispose
public void dispose()
isScrollable
public boolean isScrollable()
getColumnCount
public int getColumnCount()
getRowCount
public int getRowCount()
getValueAt
public Object getValueAt(int row,
int column)
memoryCopy
public IPentahoResultSet memoryCopy()
beforeFirst
public void beforeFirst()
getDataColumn
public Object[] getDataColumn(int column)
getDataRow
public Object[] getDataRow(int row)