public class SqlBytes extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Data.SqlTypes.SqlBytes
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=8.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.SqlTypes.SqlBytes
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SqlBytes()
Initializes a new instance by invoking the .NET constructor.
|
SqlBytes(byte[] buffer)
Initializes a new instance by invoking the .NET constructor.
|
SqlBytes(java.lang.Object instance)
Internal constructor.
|
SqlBytes(SqlBinary value)
Initializes a new instance by invoking the .NET constructor.
|
SqlBytes(Stream s)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlBytes |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SqlBytes, a cast assert is made to check if types are compatible. |
byte[] |
getBuffer()
Gets the value of the .NET property Buffer.
|
boolean |
getIsNull()
Gets the value of the .NET property IsNull.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
long |
getLength()
Gets the value of the .NET property Length.
|
long |
getMaxLength()
Gets the value of the .NET property MaxLength.
|
static SqlBytes |
getNull()
Gets the value of the .NET property Null.
|
StorageState |
getStorage()
Gets the value of the .NET property Storage.
|
Stream |
getStream()
Gets the value of the .NET property Stream.
|
byte[] |
getValue()
Gets the value of the .NET property Value.
|
static XmlQualifiedName |
GetXsdType(XmlSchemaSet schemaSet)
Invokes the .NET member GetXsdType.
|
long |
Read(long offset,
byte[] buffer,
int offsetInBuffer,
int count)
Invokes the .NET member Read.
|
long |
Read(long dupParam0,
JCORefOut dupParam1,
int dupParam2,
int dupParam3)
Invokes the .NET member Read.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetLength(long value)
Invokes the .NET member SetLength.
|
void |
SetNull()
Invokes the .NET member SetNull.
|
void |
setStream(Stream Stream)
Sets the value of the .NET property Stream.
|
SqlBinary |
ToSqlBinary()
Invokes the .NET member ToSqlBinary.
|
void |
Write(long offset,
byte[] buffer,
int offsetInBuffer,
int count)
Invokes the .NET member Write.
|
void |
Write(long dupParam0,
JCORefOut dupParam1,
int dupParam2,
int dupParam3)
Invokes the .NET member Write.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SqlBytes()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic SqlBytes(byte[] buffer)
throws java.lang.Throwable
buffer - the argument of type byte[]java.lang.Throwable - if the .NET constructor failspublic SqlBytes(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic SqlBytes(SqlBinary value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
value - the argument of type SqlBinaryjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic SqlBytes(Stream s) throws java.lang.Throwable
s - the argument of type Streamjava.lang.Throwable - if the .NET constructor failspublic static SqlBytes cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SqlBytes, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSqlBytes instancejava.lang.Throwable - in case of error during cast operationpublic byte[] getBuffer()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
SqlTypeException,
ArrayTypeMismatchException,
IOException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSqlTypeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itpublic boolean getIsNull()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic long getLength()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic long getMaxLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SqlBytes getNull() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic StorageState getStorage() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic Stream getStream() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte[] getValue()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException,
SqlTypeException,
ArrayTypeMismatchException,
IOException,
InvalidOperationException,
IndexOutOfRangeException,
RankException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itSqlTypeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itFormatException - if the .NET member raises itpublic static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws java.lang.Throwable
schemaSet - the argument of type XmlSchemaSetjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic long Read(long offset,
byte[] buffer,
int offsetInBuffer,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
RankException,
ArrayTypeMismatchException
offset - the argument of type longbuffer - the argument of type byte[]offsetInBuffer - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic long Read(long dupParam0,
JCORefOut dupParam1,
int dupParam2,
int dupParam3)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
RankException,
ArrayTypeMismatchException
dupParam0 - the argument of type longdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type intdupParam3 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void SetLength(long value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
SqlTypeException,
FormatException
value - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSqlTypeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void SetNull()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setStream(Stream Stream) throws java.lang.Throwable
Stream - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic SqlBinary ToSqlBinary() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, SqlTypeException, ArgumentOutOfRangeException, ArrayTypeMismatchException, IOException, IndexOutOfRangeException, RankException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itSqlTypeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itpublic void Write(long offset,
byte[] buffer,
int offsetInBuffer,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
SqlTypeException,
IndexOutOfRangeException,
FormatException
offset - the argument of type longbuffer - the argument of type byte[]offsetInBuffer - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itSqlTypeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic void Write(long dupParam0,
JCORefOut dupParam1,
int dupParam2,
int dupParam3)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
SqlTypeException,
IndexOutOfRangeException,
FormatException
dupParam0 - the argument of type longdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type intdupParam3 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itSqlTypeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises it