|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mozilla.javascript.ScriptableObject
org.pentaho.platform.plugin.services.connections.javascript.JavaScriptResultSet
public class JavaScriptResultSet
| Field Summary |
|---|
| Fields inherited from class org.mozilla.javascript.ScriptableObject |
|---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
| Fields inherited from interface org.mozilla.javascript.Scriptable |
|---|
NOT_FOUND |
| Constructor Summary | |
|---|---|
JavaScriptResultSet()
|
|
| 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)
|
org.pentaho.commons.connection.IPentahoMetaData |
getMetaData()
|
int |
getRowCount()
|
Object |
getValueAt(int row,
int column)
|
boolean |
isScrollable()
|
static Object |
jsFunction_addRow(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
|
static Object |
jsFunction_getColumnCount(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
|
static Object |
jsFunction_getRowCount(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
|
static Object |
jsFunction_getValueAt(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
|
static Object |
jsFunction_setColumnHeaders(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
|
org.pentaho.commons.connection.IPentahoResultSet |
memoryCopy()
|
Object[] |
next()
|
Object[] |
peek()
|
void |
setMetaData(org.pentaho.commons.connection.IPentahoMetaData metaData)
|
void |
setResultSet(org.pentaho.commons.connection.IPentahoResultSet pResults)
|
String |
toString()
|
| Methods inherited from class org.mozilla.javascript.ScriptableObject |
|---|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JavaScriptResultSet()
| Method Detail |
|---|
public void setResultSet(org.pentaho.commons.connection.IPentahoResultSet pResults)
public String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObject
public static Object jsFunction_getColumnCount(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
public static Object jsFunction_getRowCount(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
public static Object jsFunction_getValueAt(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
public static Object jsFunction_setColumnHeaders(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
public static Object jsFunction_addRow(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
public void setMetaData(org.pentaho.commons.connection.IPentahoMetaData metaData)
public void addRow(String[] row)
public void addRow(Object[] row)
public String toString()
toString in class Objectpublic org.pentaho.commons.connection.IPentahoMetaData getMetaData()
getMetaData in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] peek()
peek in interface org.pentaho.commons.connection.IPeekablepublic Object[] next()
next in interface org.pentaho.commons.connection.IPentahoResultSetpublic void close()
close in interface org.pentaho.commons.connection.IPentahoResultSetpublic void closeConnection()
closeConnection in interface org.pentaho.commons.connection.IPentahoResultSetpublic void dispose()
dispose in interface org.pentaho.commons.connection.IDisposablepublic boolean isScrollable()
isScrollable in interface org.pentaho.commons.connection.IPentahoResultSetpublic int getColumnCount()
getColumnCount in interface org.pentaho.commons.connection.IPentahoResultSetpublic int getRowCount()
getRowCount in interface org.pentaho.commons.connection.IPentahoResultSet
public Object getValueAt(int row,
int column)
getValueAt in interface org.pentaho.commons.connection.IPentahoResultSetpublic org.pentaho.commons.connection.IPentahoResultSet memoryCopy()
memoryCopy in interface org.pentaho.commons.connection.IPentahoResultSetpublic void beforeFirst()
beforeFirst in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] getDataColumn(int column)
getDataColumn in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] getDataRow(int row)
getDataRow in interface org.pentaho.commons.connection.IPentahoResultSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||