Package system.data.common
Class DbDataReader
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.data.common.DbDataReader
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
- Direct Known Subclasses:
DataTableReader,EntityDataReader,OdbcDataReader,OleDbDataReader,OracleDataReader,SqlDataReader
public class DbDataReader extends MarshalByRefObject implements java.lang.AutoCloseable
The base .NET class managing System.Data.Common.DbDataReader, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Datastatic java.lang.StringclassNameQualified class name: System.Data.Common.DbDataReaderstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DbDataReader()DbDataReader(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbDataReadercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDbDataReader, a cast assert is made to check if types are compatible.voidclose()voidClose()voidDispose()booleanGetBoolean(int ordinal)byteGetByte(int ordinal)longGetBytes(int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length)longGetBytes(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4)charGetChar(int ordinal)longGetChars(int ordinal, long dataOffset, char[] buffer, int bufferOffset, int length)longGetChars(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4)DbDataReaderGetData(int ordinal)java.lang.StringGetDataTypeName(int ordinal)DateTimeGetDateTime(int ordinal)DecimalGetDecimal(int ordinal)intgetDepth()doubleGetDouble(int ordinal)intgetFieldCount()NetTypeGetFieldType(int ordinal)SingleGetFloat(int ordinal)GuidGetGuid(int ordinal)booleangetHasRows()shortGetInt16(int ordinal)intGetInt32(int ordinal)longGetInt64(int ordinal)booleangetIsClosed()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringGetName(int ordinal)intGetOrdinal(java.lang.String name)NetTypeGetProviderSpecificFieldType(int ordinal)NetObjectGetProviderSpecificValue(int ordinal)intGetProviderSpecificValues(NetObject[] values)intgetRecordsAffected()DataTableGetSchemaTable()StreamGetStream(int ordinal)java.lang.StringGetString(int ordinal)TextReaderGetTextReader(int ordinal)NetObjectGetValue(int ordinal)intGetValues(NetObject[] values)intgetVisibleFieldCount()booleanIsDBNull(int ordinal)booleanNextResult()booleanRead()voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.Common.DbDataReader- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classMarshalByRefObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classMarshalByRefObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classMarshalByRefObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classMarshalByRefObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classMarshalByRefObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classMarshalByRefObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DbDataReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDbDataReader, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DbDataReaderinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetBoolean
public boolean GetBoolean(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
IsDBNull
public boolean IsDBNull(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
NextResult
public boolean NextResult() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Read
public boolean Read() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetByte
public byte GetByte(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetChar
public char GetChar(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetDouble
public double GetDouble(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetInt16
public short GetInt16(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetInt32
public int GetInt32(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetOrdinal
public int GetOrdinal(java.lang.String name) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetProviderSpecificValues
public int GetProviderSpecificValues(NetObject[] values) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetValues
public int GetValues(NetObject[] values) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetBytes
public long GetBytes(int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetBytes
public long GetBytes(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetChars
public long GetChars(int ordinal, long dataOffset, char[] buffer, int bufferOffset, int length) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetChars
public long GetChars(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetInt64
public long GetInt64(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetFloat
public Single GetFloat(int ordinal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetData
public DbDataReader GetData(int ordinal) throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.ThrowableNotSupportedException
-
GetSchemaTable
public DataTable GetSchemaTable() throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.ThrowableNotSupportedException
-
GetDateTime
public DateTime GetDateTime(int ordinal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetDecimal
public Decimal GetDecimal(int ordinal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetGuid
public Guid GetGuid(int ordinal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetStream
public Stream GetStream(int ordinal) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullException
-
GetTextReader
public TextReader GetTextReader(int ordinal) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
GetProviderSpecificValue
public NetObject GetProviderSpecificValue(int ordinal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetValue
public NetObject GetValue(int ordinal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetDataTypeName
public java.lang.String GetDataTypeName(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetName
public java.lang.String GetName(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetString
public java.lang.String GetString(int ordinal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetFieldType
public NetType GetFieldType(int ordinal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetProviderSpecificFieldType
public NetType GetProviderSpecificFieldType(int ordinal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Close
public void Close() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Dispose
public void Dispose() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
getHasRows
public boolean getHasRows() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsClosed
public boolean getIsClosed() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDepth
public int getDepth() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFieldCount
public int getFieldCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getRecordsAffected
public int getRecordsAffected() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getVisibleFieldCount
public int getVisibleFieldCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-