# JStatementImpl (jremote API)

Read Time: 2 minute(s)

# Class JStatementImpl

All Implemented Interfaces:JStatement


public class JStatementImpl
extends Object
implements JStatement
1
2
3

# Constructor Summary

Constructor and Description
JStatementImpl(AbstractJRemoteConnection connection)Constructor.

# Method Summary

Modifier and Type Method and Description
JResultSet execute(JDynArray queries)
Execute query.
JResultSet execute(JDynArray queries, JSelectList selectList)
Execute query using an existing select list as a filter.
JResultSet execute(String query)
Execute query.
JResultSet execute(String query, JSelectList selectList)
Execute query using an existing select list as a filter.
void setFetchSize(int rows)
Sets the fetch size.
  • Methods inherited from class java.lang.Object
    • clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

# Constructor Detail

# JStatementImpl

public JStatementImpl(AbstractJRemoteConnection connection)
1

Constructor. Parameters:connection -

# Method Detail

# execute

public JResultSet execute(String query)
                   throws JRemoteException
1
2

Description copied from interface: JStatement

Execute query.
Specified by:execute in interface JStatement
Parameters:query - as a string
Returns:result set
Throws:JRemoteException
See Also:JStatement.execute(java.lang.String)

# execute

public JResultSet execute(JDynArray queries)
                   throws JRemoteException
1
2

Description copied from interface: JStatement

Execute query.
Specified by:execute in interface JStatement
Parameters:queries - query as a dynamic array
Returns:result set
Throws:JRemoteException
See Also:JStatement.execute(com.jbase.jremote.JDynArray)

# execute

public JResultSet execute(String query,
                          JSelectList selectList)
                   throws JRemoteException
1
2
3

Description copied from interface: JStatement

Execute query using an existing select list as a filter.
Specified by:execute in interface JStatement
Parameters:query - as a string
Returns:result set
Throws:JRemoteException
See Also:JStatement.execute(java.lang.String, com.jbase.jremote.JSelectList)

# execute

public JResultSet execute(JDynArray queries,
                          JSelectList selectList)
                   throws JRemoteException
1
2
3

Description copied from interface: JStatement

Execute query using an existing select list as a filter.
Specified by:execute in interface JStatement
Parameters:queries - query as a dynamic array
Returns:result set
Throws:JRemoteException
See Also:JStatement.execute(com.jbase.jremote.JDynArray, com.jbase.jremote.JSelectList)

# setFetchSize

public void setFetchSize(int rows)
1

Description copied from interface: JStatement

Sets the fetch size.
Specified by:setFetchSize in interface JStatement
See Also:JStatement.setFetchSize(int)

Back to jRemote API