public class SqlString extends ValueType implements IXmlSerializable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlTypes.SqlString
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.SqlTypes.SqlString
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SqlString() |
SqlString(int lcid,
SqlCompareOptions compareOptions,
byte[] data) |
SqlString(int lcid,
SqlCompareOptions compareOptions,
byte[] data,
boolean fUnicode) |
SqlString(int lcid,
SqlCompareOptions compareOptions,
byte[] data,
int index,
int count) |
SqlString(int lcid,
SqlCompareOptions compareOptions,
byte[] data,
int index,
int count,
boolean fUnicode) |
SqlString(java.lang.Object instance)
Internal constructor.
|
SqlString(java.lang.String data) |
SqlString(java.lang.String data,
int lcid) |
SqlString(java.lang.String data,
int lcid,
SqlCompareOptions compareOptions) |
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetSchema, ReadXml, ToIXmlSerializable, WriteXmlpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SqlString()
throws java.lang.Throwable
java.lang.Throwablepublic SqlString(int lcid,
SqlCompareOptions compareOptions,
byte[] data)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic SqlString(int lcid,
SqlCompareOptions compareOptions,
byte[] data,
boolean fUnicode)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic SqlString(int lcid,
SqlCompareOptions compareOptions,
byte[] data,
int index,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic SqlString(int lcid,
SqlCompareOptions compareOptions,
byte[] data,
int index,
int count,
boolean fUnicode)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatExceptionpublic SqlString(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SqlString(java.lang.String data)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
OutOfMemoryException,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException
public SqlString(java.lang.String data,
int lcid)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public SqlString(java.lang.String data,
int lcid,
SqlCompareOptions compareOptions)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public static SqlString Add(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlTypeException, OutOfMemoryException
public static SqlString cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SqlString, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSqlString instancejava.lang.Throwable - in case of error during cast operationpublic SqlString Clone() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
public static CompareOptions CompareOptionsFromSqlCompareOptions(SqlCompareOptions compareOptions) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionpublic int CompareTo(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionSqlTypeExceptionArgumentOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionpublic int CompareTo(SqlString value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlTypeException, NullReferenceException, NotSupportedException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionSqlTypeExceptionNullReferenceExceptionNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionpublic static SqlString Concat(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlTypeException, OutOfMemoryException
public boolean Equals(SqlString other) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException, SqlNullValueException
public static SqlBoolean Equals(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException
public CompareInfo getCompareInfo() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, SqlNullValueException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionArgumentNullExceptionCultureNotFoundExceptionOutOfMemoryExceptionSqlNullValueExceptionpublic CultureInfo getCultureInfo() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, NullReferenceException, CultureNotFoundException, OutOfMemoryException, SqlNullValueException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionCultureNotFoundExceptionOutOfMemoryExceptionSqlNullValueExceptionpublic boolean getIsNull()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IXmlSerializablegetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IXmlSerializablegetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IXmlSerializablegetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IXmlSerializablegetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IXmlSerializablegetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic int getLCID()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException
public byte[] GetNonUnicodeBytes()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
CultureNotFoundException,
OutOfMemoryException
public SqlCompareOptions getSqlCompareOptions() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
public byte[] GetUnicodeBytes()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic java.lang.String getValue()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws java.lang.Throwable
java.lang.Throwablepublic static SqlBoolean GreaterThan(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException
public static SqlBoolean GreaterThanOrEqual(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException
public static SqlBoolean LessThan(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException
public static SqlBoolean LessThanOrEqual(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException
public static SqlBoolean NotEquals(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, IndexOutOfRangeException
public void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic SqlBoolean ToSqlBoolean() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, CultureNotFoundException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, OverflowException
public SqlByte ToSqlByte() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, OverflowException
public SqlDateTime ToSqlDateTime() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException, TypeInitializationException, ArgumentOutOfRangeException, FormatException, SqlTypeException, OverflowException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionSqlNullValueExceptionArgumentNullExceptionPlatformNotSupportedExceptionNotSupportedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionTypeInitializationExceptionArgumentOutOfRangeExceptionFormatExceptionSqlTypeExceptionOverflowExceptionpublic SqlDecimal ToSqlDecimal() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, OverflowException
public SqlDouble ToSqlDouble() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, PlatformNotSupportedException, OverflowException
public SqlGuid ToSqlGuid() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, OverflowException, FormatException, ArrayTypeMismatchException
public SqlInt16 ToSqlInt16() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, OverflowException
public SqlInt32 ToSqlInt32() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, OverflowException
public SqlInt64 ToSqlInt64() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, OverflowException
public SqlMoney ToSqlMoney() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, OverflowException, SqlTruncateException, DivideByZeroException
public SqlSingle ToSqlSingle() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, PlatformNotSupportedException, OverflowException