public class DbDataReader extends MarshalByRefObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Common.DbDataReader
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.Common.DbDataReader
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DbDataReader() |
DbDataReader(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DbDataReader |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DbDataReader, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close() |
void |
Dispose() |
boolean |
GetBoolean(int ordinal) |
byte |
GetByte(int ordinal) |
long |
GetBytes(int ordinal,
long dataOffset,
byte[] buffer,
int bufferOffset,
int length) |
long |
GetBytes(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4) |
char |
GetChar(int ordinal) |
long |
GetChars(int ordinal,
long dataOffset,
char[] buffer,
int bufferOffset,
int length) |
long |
GetChars(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4) |
DbDataReader |
GetData(int ordinal) |
java.lang.String |
GetDataTypeName(int ordinal) |
DateTime |
GetDateTime(int ordinal) |
Decimal |
GetDecimal(int ordinal) |
int |
getDepth() |
double |
GetDouble(int ordinal) |
int |
getFieldCount() |
NetType |
GetFieldType(int ordinal) |
Single |
GetFloat(int ordinal) |
Guid |
GetGuid(int ordinal) |
boolean |
getHasRows() |
short |
GetInt16(int ordinal) |
int |
GetInt32(int ordinal) |
long |
GetInt64(int ordinal) |
boolean |
getIsClosed() |
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) |
int |
getRecordsAffected() |
DataTable |
GetSchemaTable() |
Stream |
GetStream(int ordinal) |
java.lang.String |
GetString(int ordinal) |
TextReader |
GetTextReader(int ordinal) |
NetObject |
GetValue(int ordinal) |
int |
GetValues(NetObject[] values) |
int |
getVisibleFieldCount() |
boolean |
IsDBNull(int ordinal) |
boolean |
NextResult() |
boolean |
Read() |
void |
setJCOInstance(JCObject instance) |
CreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DbDataReader()
throws java.lang.Throwable
java.lang.Throwablepublic DbDataReader(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static DbDataReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DbDataReader, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDbDataReader instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable
java.lang.Throwablepublic void Dispose()
throws java.lang.Throwable
java.lang.Throwablepublic boolean GetBoolean(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic byte GetByte(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic long GetBytes(int ordinal,
long dataOffset,
byte[] buffer,
int bufferOffset,
int length)
throws java.lang.Throwable
java.lang.Throwablepublic long GetBytes(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4)
throws java.lang.Throwable
java.lang.Throwablepublic char GetChar(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic long GetChars(int ordinal,
long dataOffset,
char[] buffer,
int bufferOffset,
int length)
throws java.lang.Throwable
java.lang.Throwablepublic long GetChars(int dupParam0,
long dupParam1,
JCORefOut dupParam2,
int dupParam3,
int dupParam4)
throws java.lang.Throwable
java.lang.Throwablepublic DbDataReader GetData(int ordinal) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic java.lang.String GetDataTypeName(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic DateTime GetDateTime(int ordinal) throws java.lang.Throwable
java.lang.Throwablepublic Decimal GetDecimal(int ordinal) throws java.lang.Throwable
java.lang.Throwablepublic int getDepth()
throws java.lang.Throwable
java.lang.Throwablepublic double GetDouble(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic int getFieldCount()
throws java.lang.Throwable
java.lang.Throwablepublic NetType GetFieldType(int ordinal) throws java.lang.Throwable
java.lang.Throwablepublic Single GetFloat(int ordinal) throws java.lang.Throwable
java.lang.Throwablepublic Guid GetGuid(int ordinal) throws java.lang.Throwable
java.lang.Throwablepublic boolean getHasRows()
throws java.lang.Throwable
java.lang.Throwablepublic short GetInt16(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic int GetInt32(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic long GetInt64(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsClosed()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MarshalByRefObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MarshalByRefObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MarshalByRefObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MarshalByRefObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class MarshalByRefObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String GetName(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic int GetOrdinal(java.lang.String name)
throws java.lang.Throwable
java.lang.Throwablepublic NetType GetProviderSpecificFieldType(int ordinal) throws java.lang.Throwable
java.lang.Throwablepublic NetObject GetProviderSpecificValue(int ordinal) throws java.lang.Throwable
java.lang.Throwablepublic int GetProviderSpecificValues(NetObject[] values) throws java.lang.Throwable
java.lang.Throwablepublic int getRecordsAffected()
throws java.lang.Throwable
java.lang.Throwablepublic DataTable GetSchemaTable() throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic Stream GetStream(int ordinal) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionpublic java.lang.String GetString(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic TextReader GetTextReader(int ordinal) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic NetObject GetValue(int ordinal) throws java.lang.Throwable
java.lang.Throwablepublic int GetValues(NetObject[] values) throws java.lang.Throwable
java.lang.Throwablepublic int getVisibleFieldCount()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsDBNull(int ordinal)
throws java.lang.Throwable
java.lang.Throwablepublic boolean NextResult()
throws java.lang.Throwable
java.lang.Throwablepublic boolean Read()
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class MarshalByRefObject