|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.Scriptable
getClassName
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 Object
public org.pentaho.commons.connection.IPentahoMetaData getMetaData()
getMetaData
in interface org.pentaho.commons.connection.IPentahoResultSet
public Object[] peek()
peek
in interface org.pentaho.commons.connection.IPeekable
public Object[] next()
next
in interface org.pentaho.commons.connection.IPentahoResultSet
public void close()
close
in interface org.pentaho.commons.connection.IPentahoResultSet
public void closeConnection()
closeConnection
in interface org.pentaho.commons.connection.IPentahoResultSet
public void dispose()
dispose
in interface org.pentaho.commons.connection.IDisposable
public boolean isScrollable()
isScrollable
in interface org.pentaho.commons.connection.IPentahoResultSet
public int getColumnCount()
getColumnCount
in interface org.pentaho.commons.connection.IPentahoResultSet
public int getRowCount()
getRowCount
in interface org.pentaho.commons.connection.IPentahoResultSet
public Object getValueAt(int row, int column)
getValueAt
in interface org.pentaho.commons.connection.IPentahoResultSet
public org.pentaho.commons.connection.IPentahoResultSet memoryCopy()
memoryCopy
in interface org.pentaho.commons.connection.IPentahoResultSet
public void beforeFirst()
beforeFirst
in interface org.pentaho.commons.connection.IPentahoResultSet
public Object[] getDataColumn(int column)
getDataColumn
in interface org.pentaho.commons.connection.IPentahoResultSet
public 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 |