IParameterMetaData Interface

Definition

An object that can be used to get information about the types and properties for each parameter marker in a PreparedStatement object.

[Android.Runtime.Register("java/sql/ParameterMetaData", "", "Java.Sql.IParameterMetaDataInvoker")]
public interface IParameterMetaData : IDisposable, Java.Interop.IJavaPeerable, Java.Sql.IWrapper
[<Android.Runtime.Register("java/sql/ParameterMetaData", "", "Java.Sql.IParameterMetaDataInvoker")>]
type IParameterMetaData = interface
    interface IWrapper
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Attributes
Implements

Remarks

An object that can be used to get information about the types and properties for each parameter marker in a PreparedStatement object. For some queries and driver implementations, the data that would be returned by a ParameterMetaData object may not be available until the PreparedStatement has been executed.

Some driver implementations may not be able to provide information about the types and properties for each parameter marker in a CallableStatement object.

Added in 1.4.

Java documentation for java.sql.ParameterMetaData.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

ParameterModeIn

The constant indicating that the parameter's mode is IN.

ParameterModeInOut

The constant indicating that the parameter's mode is INOUT.

ParameterModeOut

The constant indicating that the parameter's mode is OUT.

ParameterModeUnknown

The constant indicating that the mode of the parameter is unknown.

ParameterNoNulls

The constant indicating that a parameter will not allow NULL values.

ParameterNullable

The constant indicating that a parameter will allow NULL values.

ParameterNullableUnknown

The constant indicating that the nullability of a parameter is unknown.

Properties

Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
JniManagedPeerState

State of the managed peer.

(Inherited from IJavaPeerable)
JniPeerMembers

Member access and invocation support.

(Inherited from IJavaPeerable)
ParameterCount

Gets the number of parameters in the PreparedStatement for which this ParameterMetaData contains information.

PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)

Methods

Disposed()

Called when the instance has been disposed.

(Inherited from IJavaPeerable)
DisposeUnlessReferenced()

If there are no outstanding references to this instance, then calls Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
GetParameterClassName(Int32)

Retrieves the fully-qualified name of the Java class whose instances should be passed to the method PreparedStatement.setObject.

GetParameterMode(Int32)

Retrieves the designated parameter's mode.

GetParameterType(Int32)

Retrieves the designated parameter's SQL type.

GetParameterTypeName(Int32)

Retrieves the designated parameter's database-specific type name.

GetPrecision(Int32)

Retrieves the designated parameter's specified column size.

GetScale(Int32)

Retrieves the designated parameter's number of digits to right of the decimal point.

IsNullable(Int32)

Retrieves whether null values are allowed in the designated parameter.

IsSigned(Int32)

Retrieves whether values for the designated parameter can be signed numbers.

IsWrapperFor(Class)

Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does.

(Inherited from IWrapper)
SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
UnregisterFromRuntime()

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

(Inherited from IJavaPeerable)
Unwrap(Class)

Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy.

(Inherited from IWrapper)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to