Table of Contents

Class Statement

Namespace
Java.Sql
Assembly
MASES.Netdroid.dll
public class Statement : JVMBridgeBase<Statement>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IStatement, IWrapper, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<Statement>
Statement
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Statement>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Statement>.IsAssignableFrom<T>()
JVMBridgeBase<Statement>.Execute<T>(params T[])
JVMBridgeBase<Statement>.DynBridgeClazz
JVMBridgeBase<Statement>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Statement()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("Statement class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Statement()

Statement(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("Statement class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Statement(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

CLOSE_ALL_RESULTS

public static int CLOSE_ALL_RESULTS { get; }

Property Value

int

CLOSE_CURRENT_RESULT

public static int CLOSE_CURRENT_RESULT { get; }

Property Value

int

EXECUTE_FAILED

public static int EXECUTE_FAILED { get; }

Property Value

int

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

KEEP_CURRENT_RESULT

public static int KEEP_CURRENT_RESULT { get; }

Property Value

int

NO_GENERATED_KEYS

public static int NO_GENERATED_KEYS { get; }

Property Value

int

RETURN_GENERATED_KEYS

public static int RETURN_GENERATED_KEYS { get; }

Property Value

int

SUCCESS_NO_INFO

public static int SUCCESS_NO_INFO { get; }

Property Value

int

Methods

AddBatch(String)

public void AddBatch(String arg0)

Parameters

arg0 String

String

Exceptions

SQLException

Cancel()

public void Cancel()

Exceptions

SQLException

ClearBatch()

public void ClearBatch()

Exceptions

SQLException

ClearWarnings()

public void ClearWarnings()

Exceptions

SQLException

Close()

public void Close()

Exceptions

SQLException

CloseOnCompletion()

public void CloseOnCompletion()

Exceptions

SQLException

EnquoteIdentifier(String, bool)

public String EnquoteIdentifier(String arg0, bool arg1)

Parameters

arg0 String

String

arg1 bool

bool

Returns

String

String

Exceptions

SQLException

EnquoteLiteral(String)

public String EnquoteLiteral(String arg0)

Parameters

arg0 String

String

Returns

String

String

Exceptions

SQLException

EnquoteNCharLiteral(String)

public String EnquoteNCharLiteral(String arg0)

Parameters

arg0 String

String

Returns

String

String

Exceptions

SQLException

Execute(String)

public bool Execute(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

SQLException

Execute(String, String[])

public bool Execute(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

bool

bool

Exceptions

SQLException

Execute(String, int)

public bool Execute(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

bool

bool

Exceptions

SQLException

Execute(String, int[])

public bool Execute(String arg0, int[] arg1)

Parameters

arg0 String

String

arg1 int[]

int

Returns

bool

bool

Exceptions

SQLException

ExecuteBatch()

public int[] ExecuteBatch()

Returns

int[]

int

Exceptions

SQLException

ExecuteLargeBatch()

public long[] ExecuteLargeBatch()

Returns

long[]

long

Exceptions

SQLException

ExecuteLargeUpdate(String)

public long ExecuteLargeUpdate(String arg0)

Parameters

arg0 String

String

Returns

long

long

Exceptions

SQLException

ExecuteLargeUpdate(String, String[])

public long ExecuteLargeUpdate(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

long

long

Exceptions

SQLException

ExecuteLargeUpdate(String, int)

public long ExecuteLargeUpdate(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

long

long

Exceptions

SQLException

ExecuteLargeUpdate(String, int[])

public long ExecuteLargeUpdate(String arg0, int[] arg1)

Parameters

arg0 String

String

arg1 int[]

int

Returns

long

long

Exceptions

SQLException

ExecuteQuery(String)

public ResultSet ExecuteQuery(String arg0)

Parameters

arg0 String

String

Returns

ResultSet

ResultSet

Exceptions

SQLException

ExecuteUpdate(String)

public int ExecuteUpdate(String arg0)

Parameters

arg0 String

String

Returns

int

int

Exceptions

SQLException

ExecuteUpdate(String, String[])

public int ExecuteUpdate(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

int

int

Exceptions

SQLException

ExecuteUpdate(String, int)

public int ExecuteUpdate(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

int

int

Exceptions

SQLException

ExecuteUpdate(String, int[])

public int ExecuteUpdate(String arg0, int[] arg1)

Parameters

arg0 String

String

arg1 int[]

int

Returns

int

int

Exceptions

SQLException

GetConnection()

public Connection GetConnection()

Returns

Connection

Connection

Exceptions

SQLException

GetFetchDirection()

public int GetFetchDirection()

Returns

int

int

Exceptions

SQLException

GetFetchSize()

public int GetFetchSize()

Returns

int

int

Exceptions

SQLException

GetGeneratedKeys()

public ResultSet GetGeneratedKeys()

Returns

ResultSet

ResultSet

Exceptions

SQLException

GetLargeMaxRows()

public long GetLargeMaxRows()

Returns

long

long

Exceptions

SQLException

GetLargeUpdateCount()

public long GetLargeUpdateCount()

Returns

long

long

Exceptions

SQLException

GetMaxFieldSize()

public int GetMaxFieldSize()

Returns

int

int

Exceptions

SQLException

GetMaxRows()

public int GetMaxRows()

Returns

int

int

Exceptions

SQLException

GetMoreResults()

public bool GetMoreResults()

Returns

bool

bool

Exceptions

SQLException

GetMoreResults(int)

public bool GetMoreResults(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Exceptions

SQLException

GetQueryTimeout()

public int GetQueryTimeout()

Returns

int

int

Exceptions

SQLException

GetResultSet()

public ResultSet GetResultSet()

Returns

ResultSet

ResultSet

Exceptions

SQLException

GetResultSetConcurrency()

public int GetResultSetConcurrency()

Returns

int

int

Exceptions

SQLException

GetResultSetHoldability()

public int GetResultSetHoldability()

Returns

int

int

Exceptions

SQLException

GetResultSetType()

public int GetResultSetType()

Returns

int

int

Exceptions

SQLException

GetUpdateCount()

public int GetUpdateCount()

Returns

int

int

Exceptions

SQLException

GetWarnings()

public SQLWarning GetWarnings()

Returns

SQLWarning

SQLWarning

Exceptions

SQLException

IsCloseOnCompletion()

public bool IsCloseOnCompletion()

Returns

bool

bool

Exceptions

SQLException

IsClosed()

public bool IsClosed()

Returns

bool

bool

Exceptions

SQLException

IsPoolable()

public bool IsPoolable()

Returns

bool

bool

Exceptions

SQLException

IsSimpleIdentifier(String)

public bool IsSimpleIdentifier(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

SQLException

SetCursorName(String)

public void SetCursorName(String arg0)

Parameters

arg0 String

String

Exceptions

SQLException

SetEscapeProcessing(bool)

public void SetEscapeProcessing(bool arg0)

Parameters

arg0 bool

bool

Exceptions

SQLException

SetFetchDirection(int)

public void SetFetchDirection(int arg0)

Parameters

arg0 int

int

Exceptions

SQLException

SetFetchSize(int)

public void SetFetchSize(int arg0)

Parameters

arg0 int

int

Exceptions

SQLException

SetLargeMaxRows(long)

public void SetLargeMaxRows(long arg0)

Parameters

arg0 long

long

Exceptions

SQLException

SetMaxFieldSize(int)

public void SetMaxFieldSize(int arg0)

Parameters

arg0 int

int

Exceptions

SQLException

SetMaxRows(int)

public void SetMaxRows(int arg0)

Parameters

arg0 int

int

Exceptions

SQLException

SetPoolable(bool)

public void SetPoolable(bool arg0)

Parameters

arg0 bool

bool

Exceptions

SQLException

SetQueryTimeout(int)

public void SetQueryTimeout(int arg0)

Parameters

arg0 int

int

Exceptions

SQLException

Operators

implicit operator AutoCloseable(Statement)

Converter from Statement to AutoCloseable

public static implicit operator AutoCloseable(Statement t)

Parameters

t Statement

Returns

AutoCloseable

implicit operator Wrapper(Statement)

Converter from Statement to Wrapper

public static implicit operator Wrapper(Statement t)

Parameters

t Statement

Returns

Wrapper