Package system.data
Class IDataReaderImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.data.IDataReaderImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected,IDataReader,IDataRecord,IDisposable
public class IDataReaderImplementation extends NetObject implements IDataReader
The base .NET class managing System.Data.IDataReader, System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.IDataReader
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.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Data.Commonstatic java.lang.StringclassNameQualified class name: System.Data.IDataReaderstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IDataReaderImplementation(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidClose()voidDispose()booleanGetBoolean(int i)byteGetByte(int i)longGetBytes(int i, long fieldOffset, byte[] buffer, int bufferoffset, int length)longGetBytes(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4)charGetChar(int i)longGetChars(int i, long fieldoffset, char[] buffer, int bufferoffset, int length)longGetChars(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4)IDataReaderGetData(int i)java.lang.StringGetDataTypeName(int i)DateTimeGetDateTime(int i)DecimalGetDecimal(int i)intgetDepth()doubleGetDouble(int i)intgetFieldCount()NetTypeGetFieldType(int i)SingleGetFloat(int i)GuidGetGuid(int i)shortGetInt16(int i)intGetInt32(int i)longGetInt64(int i)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 i)intGetOrdinal(java.lang.String name)intgetRecordsAffected()DataTableGetSchemaTable()java.lang.StringGetString(int i)NetObjectGetValue(int i)intGetValues(NetObject[] values)booleanIsDBNull(int i)booleanNextResult()booleanRead()static IDataReaderToIDataReader(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIDataReader, a cast assert is made to check if types are compatible.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.Common- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.IDataReader- 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 interfaceIDataReader- Specified by:
getJCOAssemblyNamein interfaceIDataRecord- Specified by:
getJCOAssemblyNamein interfaceIDisposable- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- 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 interfaceIDataReader- Specified by:
getJCOClassNamein interfaceIDataRecord- Specified by:
getJCOClassNamein interfaceIDisposable- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- 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 interfaceIDataReader- Specified by:
getJCOObjectNamein interfaceIDataRecord- Specified by:
getJCOObjectNamein interfaceIDisposable- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- 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 interfaceIDataReader- Specified by:
getJCOInstancein interfaceIDataRecord- Specified by:
getJCOInstancein interfaceIDisposable- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDataReader- Specified by:
getJCOTypein interfaceIDataRecord- Specified by:
getJCOTypein interfaceIDisposable- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
ToIDataReader
public static IDataReader ToIDataReader(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIDataReader, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IDataReaderinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetBoolean
public boolean GetBoolean(int i) throws java.lang.Throwable- Specified by:
GetBooleanin interfaceIDataRecord- Throws:
java.lang.Throwable
-
IsDBNull
public boolean IsDBNull(int i) throws java.lang.Throwable- Specified by:
IsDBNullin interfaceIDataRecord- Throws:
java.lang.Throwable
-
NextResult
public boolean NextResult() throws java.lang.Throwable- Specified by:
NextResultin interfaceIDataReader- Throws:
java.lang.Throwable
-
Read
public boolean Read() throws java.lang.Throwable- Specified by:
Readin interfaceIDataReader- Throws:
java.lang.Throwable
-
GetByte
public byte GetByte(int i) throws java.lang.Throwable- Specified by:
GetBytein interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetChar
public char GetChar(int i) throws java.lang.Throwable- Specified by:
GetCharin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetDouble
public double GetDouble(int i) throws java.lang.Throwable- Specified by:
GetDoublein interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetInt16
public short GetInt16(int i) throws java.lang.Throwable- Specified by:
GetInt16in interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetInt32
public int GetInt32(int i) throws java.lang.Throwable- Specified by:
GetInt32in interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetOrdinal
public int GetOrdinal(java.lang.String name) throws java.lang.Throwable- Specified by:
GetOrdinalin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetValues
public int GetValues(NetObject[] values) throws java.lang.Throwable
- Specified by:
GetValuesin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetBytes
public long GetBytes(int i, long fieldOffset, byte[] buffer, int bufferoffset, int length) throws java.lang.Throwable- Specified by:
GetBytesin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetBytes
public long GetBytes(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4) throws java.lang.Throwable- Specified by:
GetBytesin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetChars
public long GetChars(int i, long fieldoffset, char[] buffer, int bufferoffset, int length) throws java.lang.Throwable- Specified by:
GetCharsin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetChars
public long GetChars(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4) throws java.lang.Throwable- Specified by:
GetCharsin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetInt64
public long GetInt64(int i) throws java.lang.Throwable- Specified by:
GetInt64in interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetFloat
public Single GetFloat(int i) throws java.lang.Throwable
- Specified by:
GetFloatin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetSchemaTable
public DataTable GetSchemaTable() throws java.lang.Throwable
- Specified by:
GetSchemaTablein interfaceIDataReader- Throws:
java.lang.Throwable
-
GetData
public IDataReader GetData(int i) throws java.lang.Throwable
- Specified by:
GetDatain interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetDateTime
public DateTime GetDateTime(int i) throws java.lang.Throwable
- Specified by:
GetDateTimein interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetDecimal
public Decimal GetDecimal(int i) throws java.lang.Throwable
- Specified by:
GetDecimalin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetGuid
public Guid GetGuid(int i) throws java.lang.Throwable
- Specified by:
GetGuidin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetValue
public NetObject GetValue(int i) throws java.lang.Throwable
- Specified by:
GetValuein interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetDataTypeName
public java.lang.String GetDataTypeName(int i) throws java.lang.Throwable- Specified by:
GetDataTypeNamein interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetName
public java.lang.String GetName(int i) throws java.lang.Throwable- Specified by:
GetNamein interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetString
public java.lang.String GetString(int i) throws java.lang.Throwable- Specified by:
GetStringin interfaceIDataRecord- Throws:
java.lang.Throwable
-
GetFieldType
public NetType GetFieldType(int i) throws java.lang.Throwable
- Specified by:
GetFieldTypein interfaceIDataRecord- Throws:
java.lang.Throwable
-
Close
public void Close() throws java.lang.Throwable- Specified by:
Closein interfaceIDataReader- Throws:
java.lang.Throwable
-
Dispose
public void Dispose() throws java.lang.Throwable- Specified by:
Disposein interfaceIDisposable- Throws:
java.lang.Throwable
-
getIsClosed
public boolean getIsClosed() throws java.lang.Throwable- Specified by:
getIsClosedin interfaceIDataReader- Throws:
java.lang.Throwable
-
getDepth
public int getDepth() throws java.lang.Throwable- Specified by:
getDepthin interfaceIDataReader- Throws:
java.lang.Throwable
-
getFieldCount
public int getFieldCount() throws java.lang.Throwable- Specified by:
getFieldCountin interfaceIDataRecord- Throws:
java.lang.Throwable
-
getRecordsAffected
public int getRecordsAffected() throws java.lang.Throwable- Specified by:
getRecordsAffectedin interfaceIDataReader- Throws:
java.lang.Throwable
-
-