public class OdbcDataReader extends DbDataReader
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Odbc.OdbcDataReader
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data
|
static java.lang.String |
className
Qualified class name: System.Data.Odbc.OdbcDataReader
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
OdbcDataReader() |
OdbcDataReader(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static OdbcDataReader |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into OdbcDataReader, a cast assert is made to check if types are compatible. |
void |
Close() |
boolean |
GetBoolean(int i) |
byte |
GetByte(int i) |
long |
GetBytes(int i,
long dataIndex,
byte[] buffer,
int bufferIndex,
int length) |
long |
GetBytes(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4) |
char |
GetChar(int i) |
long |
GetChars(int i,
long dataIndex,
char[] buffer,
int bufferIndex,
int length) |
long |
GetChars(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4) |
java.lang.String |
GetDataTypeName(int i) |
DateTime |
GetDate(int i) |
DateTime |
GetDateTime(int i) |
Decimal |
GetDecimal(int i) |
double |
GetDouble(int i) |
NetType |
GetFieldType(int i) |
Single |
GetFloat(int i) |
Guid |
GetGuid(int i) |
short |
GetInt16(int i) |
int |
GetInt32(int i) |
long |
GetInt64(int i) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
GetName(int i) |
int |
GetOrdinal(java.lang.String value) |
DataTable |
GetSchemaTable() |
java.lang.String |
GetString(int i) |
TimeSpan |
GetTime(int i) |
NetObject |
GetValue(int i) |
int |
GetValues(NetObject[] values) |
boolean |
IsDBNull(int i) |
boolean |
NextResult() |
boolean |
Read() |
void |
setJCOInstance(JCObject instance) |
close, Dispose, GetData, getDepth, getFieldCount, getHasRows, getIsClosed, GetProviderSpecificFieldType, GetProviderSpecificValue, GetProviderSpecificValues, getRecordsAffected, GetStream, GetTextReader, getVisibleFieldCountCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public OdbcDataReader()
throws java.lang.Throwable
java.lang.Throwablepublic OdbcDataReader(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static OdbcDataReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into OdbcDataReader, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedOdbcDataReader instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
OverflowException,
AccessViolationException,
CultureNotFoundException,
NotSupportedException
Close in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionOverflowExceptionAccessViolationExceptionCultureNotFoundExceptionNotSupportedExceptionpublic boolean GetBoolean(int i)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
AccessViolationException,
OverflowException
GetBoolean in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOverflowExceptionpublic byte GetByte(int i)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
AccessViolationException,
OverflowException
GetByte in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOverflowExceptionpublic long GetBytes(int i,
long dataIndex,
byte[] buffer,
int bufferIndex,
int length)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
OverflowException,
OutOfMemoryException,
InvalidCastException
GetBytes in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionOutOfMemoryExceptionInvalidCastExceptionpublic long GetBytes(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
OverflowException,
OutOfMemoryException,
InvalidCastException
GetBytes in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionOutOfMemoryExceptionInvalidCastExceptionpublic char GetChar(int i)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
AccessViolationException,
OverflowException
GetChar in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOverflowExceptionpublic long GetChars(int i,
long dataIndex,
char[] buffer,
int bufferIndex,
int length)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
OverflowException,
OutOfMemoryException,
InvalidCastException
GetChars in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionOutOfMemoryExceptionInvalidCastExceptionpublic long GetChars(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
OverflowException,
OutOfMemoryException,
InvalidCastException
GetChars in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionOutOfMemoryExceptionInvalidCastExceptionpublic java.lang.String GetDataTypeName(int i)
throws java.lang.Throwable,
ObjectDisposedException,
AccessViolationException,
ArgumentOutOfRangeException,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
OutOfMemoryException,
FormatException,
OverflowException,
ArgumentException
GetDataTypeName in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionAccessViolationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionArgumentExceptionpublic DateTime GetDate(int i) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, AccessViolationException, OverflowException
public DateTime GetDateTime(int i) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, AccessViolationException, OverflowException
GetDateTime in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOverflowExceptionpublic Decimal GetDecimal(int i) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, AccessViolationException, FormatException, OverflowException
GetDecimal in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionFormatExceptionOverflowExceptionpublic double GetDouble(int i)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
AccessViolationException,
OverflowException
GetDouble in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOverflowExceptionpublic NetType GetFieldType(int i) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, OverflowException, ObjectDisposedException, InvalidOperationException
GetFieldType in class DbDataReaderjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionOverflowExceptionObjectDisposedExceptionInvalidOperationExceptionpublic Single GetFloat(int i) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, AccessViolationException, OverflowException
GetFloat in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOverflowExceptionpublic Guid GetGuid(int i) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException
GetGuid in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOverflowExceptionpublic short GetInt16(int i)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
AccessViolationException,
OverflowException
GetInt16 in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOverflowExceptionpublic int GetInt32(int i)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
AccessViolationException,
OverflowException
GetInt32 in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionOverflowExceptionpublic long GetInt64(int i)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
AccessViolationException,
FormatException,
OverflowException
GetInt64 in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionAccessViolationExceptionFormatExceptionOverflowExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DbDataReaderString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DbDataReaderString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DbDataReaderObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DbDataReaderString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class DbDataReaderJCType representing the CLR Type of the instantiated Classpublic java.lang.String GetName(int i)
throws java.lang.Throwable,
ObjectDisposedException,
AccessViolationException,
ArgumentOutOfRangeException,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
OutOfMemoryException,
FormatException,
OverflowException,
ArgumentException
public int GetOrdinal(java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException
GetOrdinal in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic DataTable GetSchemaTable() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, NullReferenceException, ConfigurationErrorsException, DataException, OverflowException, FormatException, InvalidCastException, KeyNotFoundException, AccessViolationException
GetSchemaTable in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNotSupportedExceptionNullReferenceExceptionConfigurationErrorsExceptionDataExceptionOverflowExceptionFormatExceptionInvalidCastExceptionKeyNotFoundExceptionAccessViolationExceptionpublic java.lang.String GetString(int i)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
OutOfMemoryException,
OverflowException
GetString in class DbDataReaderjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionOverflowExceptionpublic TimeSpan GetTime(int i) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, AccessViolationException, OverflowException
public NetObject GetValue(int i) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, OverflowException, ObjectDisposedException, InvalidOperationException, ArgumentException, AccessViolationException
GetValue in class DbDataReaderjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionOverflowExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentExceptionAccessViolationExceptionpublic int GetValues(NetObject[] values) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
GetValues in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic boolean IsDBNull(int i)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
OverflowException,
ObjectDisposedException
IsDBNull in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionOverflowExceptionObjectDisposedExceptionpublic boolean NextResult()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
FormatException,
OverflowException
NextResult in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionOverflowExceptionpublic boolean Read()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException
Read in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class DbDataReader