| java.lang.Object org.apache.derby.iapi.types.DataType org.apache.derby.iapi.types.SQLChar org.apache.derby.iapi.types.SQLVarchar org.apache.derby.iapi.types.SQLLongvarchar
All known Subclasses: org.apache.derby.iapi.types.SQLNationalLongvarchar,
SQLLongvarchar | public class SQLLongvarchar extends SQLVarchar (Code) | | SQLLongvarchar satisfies the DataValueDescriptor interfaces (i.e., OrderableDataType). It implements a String
holder, e.g. for storing a column value; it can be specified
when constructed to not allow nulls. Nullability cannot be changed
after construction.
Because OrderableDataType is a subclass of DataType,
SQLLongvarchar can play a role in either a DataType/ValueRow
or a OrderableDataType/KeyRow, interchangeably.
SQLLongvarchar is mostly the same as SQLVarchar, so it is implemented as a
subclass of SQLVarchar. Only those methods with different behavior are
implemented here.
|
SQLLongvarchar | public SQLLongvarchar()(Code) | | |
typePrecedence | public int typePrecedence()(Code) | | |
Methods inherited from org.apache.derby.iapi.types.SQLChar | public NumberDataValue charLength(NumberDataValue result) throws StandardException(Code)(Java Doc) public Object cloneObject()(Code)(Java Doc) public boolean compare(int op, DataValueDescriptor other, boolean orderedNulls, boolean unknownRV) throws StandardException(Code)(Java Doc) public int compare(DataValueDescriptor other) throws StandardException(Code)(Java Doc) public StringDataValue concatenate(StringDataValue leftOperand, StringDataValue rightOperand, StringDataValue result) throws StandardException(Code)(Java Doc) protected void copyState(SQLChar other)(Code)(Java Doc) public BooleanDataValue equals(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) public int estimateMemoryUsage()(Code)(Java Doc) public boolean getBoolean() throws StandardException(Code)(Java Doc) public byte getByte() throws StandardException(Code)(Java Doc) public char[] getCharArray() throws StandardException(Code)(Java Doc) public DataValueDescriptor getClone()(Code)(Java Doc) protected CollationKey getCollationKey() throws StandardException(Code)(Java Doc) public Date getDate(Calendar cal) throws StandardException(Code)(Java Doc) public static Date getDate(java.util.Calendar cal, String str, LocaleFinder localeFinder) throws StandardException(Code)(Java Doc) protected DateFormat getDateFormat() throws StandardException(Code)(Java Doc) protected DateFormat getDateFormat(Calendar cal) throws StandardException(Code)(Java Doc) public double getDouble() throws StandardException(Code)(Java Doc) public float getFloat() throws StandardException(Code)(Java Doc) public int getInt() throws StandardException(Code)(Java Doc) public int getLength() throws StandardException(Code)(Java Doc) protected LocaleFinder getLocaleFinder()(Code)(Java Doc) public long getLong() throws StandardException(Code)(Java Doc) public DataValueDescriptor getNewNull()(Code)(Java Doc) protected StringDataValue getNewVarchar() throws StandardException(Code)(Java Doc) public Object getObject() throws StandardException(Code)(Java Doc) public short getShort() throws StandardException(Code)(Java Doc) public InputStream getStream() throws StandardException(Code)(Java Doc) public String getString() throws StandardException(Code)(Java Doc) public Time getTime(Calendar cal) throws StandardException(Code)(Java Doc) public static Time getTime(Calendar cal, String str, LocaleFinder localeFinder) throws StandardException(Code)(Java Doc) protected DateFormat getTimeFormat() throws StandardException(Code)(Java Doc) protected DateFormat getTimeFormat(Calendar cal) throws StandardException(Code)(Java Doc) public Timestamp getTimestamp(Calendar cal) throws StandardException(Code)(Java Doc) public static Timestamp getTimestamp(java.util.Calendar cal, String str, LocaleFinder localeFinder) throws StandardException(Code)(Java Doc) protected DateFormat getTimestampFormat() throws StandardException(Code)(Java Doc) protected DateFormat getTimestampFormat(Calendar cal) throws StandardException(Code)(Java Doc) public int getTypeFormatId()(Code)(Java Doc) public String getTypeName()(Code)(Java Doc) public BooleanDataValue greaterOrEquals(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) public BooleanDataValue greaterThan(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) protected int growBy()(Code)(Java Doc) final protected void hasNonBlankChars(String source, int start, int end) throws StandardException(Code)(Java Doc) public int hashCode()(Code)(Java Doc) protected boolean isNationalString()(Code)(Java Doc) public boolean isNull()(Code)(Java Doc) public BooleanDataValue lessOrEquals(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) public BooleanDataValue lessThan(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) public BooleanDataValue like(DataValueDescriptor pattern) throws StandardException(Code)(Java Doc) public BooleanDataValue like(DataValueDescriptor pattern, DataValueDescriptor escape) throws StandardException(Code)(Java Doc) public void loadStream() throws StandardException(Code)(Java Doc) public NumberDataValue locate(StringDataValue searchFrom, NumberDataValue start, NumberDataValue result) throws StandardException(Code)(Java Doc) public StringDataValue lower(StringDataValue result) throws StandardException(Code)(Java Doc) protected Date nationalGetDate(Calendar cal) throws StandardException(Code)(Java Doc) protected Time nationalGetTime(Calendar cal) throws StandardException(Code)(Java Doc) protected Timestamp nationalGetTimestamp(Calendar cal) throws StandardException(Code)(Java Doc) protected int nationalHashCode()(Code)(Java Doc) public void normalize(DataTypeDescriptor desiredType, DataValueDescriptor source) throws StandardException(Code)(Java Doc) protected void normalize(DataTypeDescriptor desiredType, String sourceValue) throws StandardException(Code)(Java Doc) public BooleanDataValue notEquals(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) public void readExternal(ObjectInput in) throws IOException(Code)(Java Doc) public void readExternalFromArray(ArrayInputStream in) throws IOException(Code)(Java Doc) public void restoreToNull()(Code)(Java Doc) public InputStream returnStream()(Code)(Java Doc) public void setBigDecimal(Number bigDecimal) throws StandardException(Code)(Java Doc) protected void setFrom(DataValueDescriptor theValue) throws StandardException(Code)(Java Doc) final public void setInto(PreparedStatement ps, int position) throws SQLException, StandardException(Code)(Java Doc) protected void setLocaleFinder(LocaleFinder localeFinder)(Code)(Java Doc) public void setObjectForCast(Object theValue, boolean instanceOfResultType, String resultTypeClassName) throws StandardException(Code)(Java Doc) final public void setStream(InputStream newStream)(Code)(Java Doc) public void setValue(String theValue)(Code)(Java Doc) public void setValue(boolean theValue) throws StandardException(Code)(Java Doc) public void setValue(int theValue) throws StandardException(Code)(Java Doc) public void setValue(double theValue) throws StandardException(Code)(Java Doc) public void setValue(float theValue) throws StandardException(Code)(Java Doc) public void setValue(short theValue) throws StandardException(Code)(Java Doc) public void setValue(long theValue) throws StandardException(Code)(Java Doc) public void setValue(byte theValue) throws StandardException(Code)(Java Doc) public void setValue(byte[] theValue) throws StandardException(Code)(Java Doc) public void setValue(Date theValue, Calendar cal) throws StandardException(Code)(Java Doc) public void setValue(Time theValue, Calendar cal) throws StandardException(Code)(Java Doc) public void setValue(Timestamp theValue, Calendar cal) throws StandardException(Code)(Java Doc) final public void setValue(InputStream theStream, int valueLength)(Code)(Java Doc) final public void setValueFromResultSet(ResultSet resultSet, int colNumber, boolean isNullable) throws SQLException(Code)(Java Doc) public void setWidth(int desiredWidth, int desiredScale, boolean errorOnTrunc) throws StandardException(Code)(Java Doc) protected int stringCollatorCompare(SQLChar str2) throws StandardException(Code)(Java Doc) protected static int stringCompare(String op1, String op2)(Code)(Java Doc) protected int stringCompare(SQLChar char1, SQLChar char2) throws StandardException(Code)(Java Doc) protected static int stringCompare(char[] op1, int leftlen, char[] op2, int rightlen)(Code)(Java Doc) public ConcatableDataValue substring(NumberDataValue start, NumberDataValue length, ConcatableDataValue result, int maxLen) throws StandardException(Code)(Java Doc) public String toString()(Code)(Java Doc) public StringDataValue trim(int trimType, StringDataValue result) throws StandardException(Code)(Java Doc) public int typePrecedence()(Code)(Java Doc) public int typeToBigDecimal() throws StandardException(Code)(Java Doc) public StringDataValue upper(StringDataValue result) throws StandardException(Code)(Java Doc) public void writeExternal(ObjectOutput out) throws IOException(Code)(Java Doc)
|
Methods inherited from org.apache.derby.iapi.types.DataType | public void checkHostVariable(int declaredLength) throws StandardException(Code)(Java Doc) public Object cloneObject()(Code)(Java Doc) public DataValueDescriptor coalesce(DataValueDescriptor[] argumentsList, DataValueDescriptor returnValue) throws StandardException(Code)(Java Doc) public boolean compare(int op, DataValueDescriptor other, boolean orderedNulls, boolean unknownRV) throws StandardException(Code)(Java Doc) final protected StandardException dataTypeConversion(String targetType)(Code)(Java Doc) public BooleanDataValue equals(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) public boolean equals(Object other)(Code)(Java Doc) protected static int flip(int operator)(Code)(Java Doc) void genericSetObject(Object theValue) throws StandardException(Code)(Java Doc) public boolean getBoolean() throws StandardException(Code)(Java Doc) public byte getByte() throws StandardException(Code)(Java Doc) public byte[] getBytes() throws StandardException(Code)(Java Doc) public Date getDate(Calendar cal) throws StandardException(Code)(Java Doc) public double getDouble() throws StandardException(Code)(Java Doc) public float getFloat() throws StandardException(Code)(Java Doc) public int getInt() throws StandardException(Code)(Java Doc) public long getLong() throws StandardException(Code)(Java Doc) protected String getNationalString(LocaleFinder localeFinder) throws StandardException(Code)(Java Doc) public Object getObject() throws StandardException(Code)(Java Doc) public short getShort() throws StandardException(Code)(Java Doc) public InputStream getStream() throws StandardException(Code)(Java Doc) public Time getTime(Calendar cal) throws StandardException(Code)(Java Doc) public Timestamp getTimestamp(Calendar cal) throws StandardException(Code)(Java Doc) public String getTraceString() throws StandardException(Code)(Java Doc) String getTypeName(String className)(Code)(Java Doc) public BooleanDataValue greaterOrEquals(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) public BooleanDataValue greaterThan(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) public BooleanDataValue in(DataValueDescriptor left, DataValueDescriptor[] inList, boolean orderedList) throws StandardException(Code)(Java Doc) final protected StandardException invalidFormat()(Code)(Java Doc) final public BooleanDataValue isNotNull()(Code)(Java Doc) final public BooleanDataValue isNullOp()(Code)(Java Doc) public BooleanDataValue lessOrEquals(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) public BooleanDataValue lessThan(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) public void normalize(DataTypeDescriptor desiredType, DataValueDescriptor source) throws StandardException(Code)(Java Doc) public BooleanDataValue notEquals(DataValueDescriptor left, DataValueDescriptor right) throws StandardException(Code)(Java Doc) final protected StandardException outOfRange()(Code)(Java Doc) public void setBigDecimal(Number bigDecimal) throws StandardException(Code)(Java Doc) protected void setFrom(DataValueDescriptor dvd) throws StandardException(Code)(Java Doc) public void setInto(PreparedStatement ps, int position) throws SQLException, StandardException(Code)(Java Doc) public void setInto(ResultSet rs, int position) throws SQLException, StandardException(Code)(Java Doc) void setObject(Object theValue) throws StandardException(Code)(Java Doc) public void setObjectForCast(Object theValue, boolean instanceOfResultType, String resultTypeClassName) throws StandardException(Code)(Java Doc) public void setToNull()(Code)(Java Doc) public void setValue(Time theValue) throws StandardException(Code)(Java Doc) public void setValue(Time theValue, Calendar cal) throws StandardException(Code)(Java Doc) public void setValue(Timestamp theValue) throws StandardException(Code)(Java Doc) public void setValue(Timestamp theValue, Calendar cal) throws StandardException(Code)(Java Doc) public void setValue(Date theValue) throws StandardException(Code)(Java Doc) public void setValue(Date theValue, Calendar cal) throws StandardException(Code)(Java Doc) public void setValue(String theValue) throws StandardException(Code)(Java Doc) public void setValue(int theValue) throws StandardException(Code)(Java Doc) public void setValue(double theValue) throws StandardException(Code)(Java Doc) public void setValue(float theValue) throws StandardException(Code)(Java Doc) public void setValue(short theValue) throws StandardException(Code)(Java Doc) public void setValue(long theValue) throws StandardException(Code)(Java Doc) public void setValue(byte theValue) throws StandardException(Code)(Java Doc) public void setValue(boolean theValue) throws StandardException(Code)(Java Doc) public void setValue(byte[] theValue) throws StandardException(Code)(Java Doc) final public void setValue(DataValueDescriptor dvd) throws StandardException(Code)(Java Doc) public void setValue(InputStream theStream, int valueLength) throws StandardException(Code)(Java Doc) public void throwLangSetMismatch(Object value) throws StandardException(Code)(Java Doc) void throwLangSetMismatch(String argTypeName) throws StandardException(Code)(Java Doc) public int typePrecedence()(Code)(Java Doc) public int typeToBigDecimal() throws StandardException(Code)(Java Doc)
|
|
|