public class DataTableReader extends DbDataReader
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.DataTableReader
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.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Common
|
static java.lang.String |
className
Qualified class name: System.Data.DataTableReader
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataTableReader() |
DataTableReader(DataTable dataTable) |
DataTableReader(DataTable[] dataTables) |
DataTableReader(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DataTableReader |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataTableReader, a cast assert is made to check if types are compatible. |
void |
Close() |
boolean |
GetBoolean(int ordinal) |
byte |
GetByte(int ordinal) |
long |
GetBytes(int ordinal,
long dataIndex,
byte[] buffer,
int bufferIndex,
int length) |
long |
GetBytes(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4) |
char |
GetChar(int ordinal) |
long |
GetChars(int ordinal,
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 ordinal) |
DateTime |
GetDateTime(int ordinal) |
Decimal |
GetDecimal(int ordinal) |
double |
GetDouble(int ordinal) |
NetType |
GetFieldType(int ordinal) |
Single |
GetFloat(int ordinal) |
Guid |
GetGuid(int ordinal) |
short |
GetInt16(int ordinal) |
int |
GetInt32(int ordinal) |
long |
GetInt64(int ordinal) |
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 ordinal) |
int |
GetOrdinal(java.lang.String name) |
NetType |
GetProviderSpecificFieldType(int ordinal) |
NetObject |
GetProviderSpecificValue(int ordinal) |
int |
GetProviderSpecificValues(NetObject[] values) |
DataTable |
GetSchemaTable() |
java.lang.String |
GetString(int ordinal) |
NetObject |
GetValue(int ordinal) |
int |
GetValues(NetObject[] values) |
boolean |
IsDBNull(int ordinal) |
boolean |
NextResult() |
boolean |
Read() |
void |
setJCOInstance(JCObject instance) |
close, CloseAsync, Dispose, DisposeAsync, GetData, getDepth, getFieldCount, getHasRows, getIsClosed, getRecordsAffected, GetStream, GetTextReader, getVisibleFieldCountGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataTableReader()
throws java.lang.Throwable
java.lang.Throwablepublic DataTableReader(DataTable dataTable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, MulticastNotSupportedException
public DataTableReader(DataTable[] dataTables) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, MulticastNotSupportedException
public DataTableReader(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static DataTableReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataTableReader, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataTableReader instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
ArgumentNullException,
NullReferenceException,
NotSupportedException,
EventSourceException
Close in class DbDataReaderjava.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionArgumentNullExceptionNullReferenceExceptionNotSupportedExceptionEventSourceExceptionpublic boolean GetBoolean(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException
GetBoolean in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic byte GetByte(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException
GetByte in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic long GetBytes(int ordinal,
long dataIndex,
byte[] buffer,
int bufferIndex,
int length)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
GetBytes in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic long GetBytes(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
GetBytes in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic char GetChar(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException
GetChar in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic long GetChars(int ordinal,
long dataIndex,
char[] buffer,
int bufferIndex,
int length)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
GetChars in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic long GetChars(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
GetChars in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic java.lang.String GetDataTypeName(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException
GetDataTypeName in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionpublic DateTime GetDateTime(int ordinal) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NullReferenceException, NotSupportedException
GetDateTime in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic Decimal GetDecimal(int ordinal) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NullReferenceException, NotSupportedException
GetDecimal in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic double GetDouble(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException
GetDouble in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic NetType GetFieldType(int ordinal) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
GetFieldType in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionpublic Single GetFloat(int ordinal) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NullReferenceException, NotSupportedException
GetFloat in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic Guid GetGuid(int ordinal) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NullReferenceException, NotSupportedException
GetGuid in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic short GetInt16(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException
GetInt16 in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic int GetInt32(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException
GetInt32 in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic long GetInt64(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException
GetInt64 in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic 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 ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
IndexOutOfRangeException,
FormatException,
ArrayTypeMismatchException
GetName in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionpublic int GetOrdinal(java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
IndexOutOfRangeException,
NotSupportedException
GetOrdinal in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionNotSupportedExceptionpublic NetType GetProviderSpecificFieldType(int ordinal) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
GetProviderSpecificFieldType in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionpublic NetObject GetProviderSpecificValue(int ordinal) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
GetProviderSpecificValue in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionpublic int GetProviderSpecificValues(NetObject[] values) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException
GetProviderSpecificValues in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionpublic DataTable GetSchemaTable() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NullReferenceException, NotSupportedException, SynchronizationLockException, InvalidOperationException, FormatException, OutOfMemoryException, OverflowException, InvalidCastException, KeyNotFoundException, ArrayTypeMismatchException
GetSchemaTable in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNullReferenceExceptionNotSupportedExceptionSynchronizationLockExceptionInvalidOperationExceptionFormatExceptionOutOfMemoryExceptionOverflowExceptionInvalidCastExceptionKeyNotFoundExceptionArrayTypeMismatchExceptionpublic java.lang.String GetString(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException
GetString in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic NetObject GetValue(int ordinal) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NullReferenceException, NotSupportedException
GetValue in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic int GetValues(NetObject[] values) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NullReferenceException, NotSupportedException, RankException, ArrayTypeMismatchException, InvalidCastException
GetValues in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic boolean IsDBNull(int ordinal)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException
IsDBNull in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotSupportedExceptionpublic boolean NextResult()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NullReferenceException,
NotSupportedException,
MulticastNotSupportedException
NextResult in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNullReferenceExceptionNotSupportedExceptionMulticastNotSupportedExceptionpublic boolean Read()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NullReferenceException,
NotSupportedException
Read in class DbDataReaderjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNullReferenceExceptionNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class DbDataReader