Package ai.platon.pulsar.ql.types
Class ValueURI
-
- All Implemented Interfaces:
public class ValueURI extends ValueImplementation of the URI data type.
-
-
Field Summary
Fields Modifier and Type Field Description public static inttypepublic final URIuripublic final static intUNKNOWNpublic final static intNULLpublic final static intBOOLEANpublic final static intBYTEpublic final static intSHORTpublic final static intINTpublic final static intLONGpublic final static intDECIMALpublic final static intDOUBLEpublic final static intFLOATpublic final static intTIMEpublic final static intDATEpublic final static intTIMESTAMPpublic final static intBYTESpublic final static intSTRINGpublic final static intSTRING_IGNORECASEpublic final static intBLOBpublic final static intCLOBpublic final static intARRAYpublic final static intRESULT_SETpublic final static intJAVA_OBJECTpublic final static intUUIDpublic final static intSTRING_FIXEDpublic final static intGEOMETRYpublic final static intTIMESTAMP_TZpublic final static intENUMpublic final static intTYPE_COUNT
-
Method Summary
Modifier and Type Method Description URIgetURI()static ValueURIget(URI uri)Create a result set value for the given result set. static ValueURIget(String s)static ValueURIget(Array<byte> s)intgetType()longgetPrecision()intgetDisplaySize()StringgetString()booleanequals(Object other)inthashCode()ObjectgetObject()voidset(PreparedStatement prep, int parameterIndex)StringgetSQL()Array<byte>getBytes()Array<byte>getBytesNoCopy()Used by ValueDataType. StringtoString()-
Methods inherited from class org.h2.value.Value
add, checkPrecision, clearCache, compareTo, compareTypeSafe, convertPrecision, convertScale, convertTo, convertToEnum, copy, copyToResult, copyToTemp, divide, getBigDecimal, getBoolean, getByte, getDate, getDouble, getFloat, getHigherOrder, getInputStream, getInt, getLong, getMemory, getReader, getResultSet, getScale, getShort, getSignum, getSmall, getTableId, getTime, getTimestamp, getTraceSQL, isLinkedToTable, modulus, multiply, negate, remove, subtract -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
get
static ValueURI get(URI uri)
Create a result set value for the given result set. The result set will be wrapped.
- Parameters:
uri- the URI- Returns:
the value
-
getType
int getType()
-
getPrecision
long getPrecision()
-
getDisplaySize
int getDisplaySize()
-
hashCode
int hashCode()
-
set
void set(PreparedStatement prep, int parameterIndex)
-
getBytesNoCopy
Array<byte> getBytesNoCopy()
Used by ValueDataType.writeValue for serialization
-
-
-
-