public static class Unknowns.TxtDecoder extends Strings.TxtDecoder
| Modifier and Type | Class and Description |
|---|---|
static interface |
com.impossibl.postgres.system.procs.AutoConvertingDecoder.Converter<N> |
static class |
com.impossibl.postgres.system.procs.AutoConvertingDecoder.ToStringConverter<N> |
| Constructor and Description |
|---|
TxtDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertOutput(Context context,
N decoded,
Class<?> targetClass,
Object targetContext) |
Object |
decode(Context context,
Type type,
Short typeLength,
Integer typeModifier,
CharSequence buffer,
Class<?> targetClass,
Object targetContext) |
protected Object |
decodeValue(Context context,
Type type,
Short typeLength,
Integer typeModifier,
CharSequence buffer,
Class<?> targetClass,
Object targetContext) |
protected void |
enableRespectMaxLength() |
protected boolean |
shouldRespectMaxLength() |
decodeNativeValue, getDefaultClassprotected Object convertOutput(Context context, N decoded, Class<?> targetClass, Object targetContext) throws IOException
IOExceptionprotected Object decodeValue(Context context, Type type, Short typeLength, Integer typeModifier, CharSequence buffer, Class<?> targetClass, Object targetContext) throws IOException, ParseException
IOExceptionParseExceptionprotected boolean shouldRespectMaxLength()
protected void enableRespectMaxLength()
public Object decode(Context context, Type type, Short typeLength, Integer typeModifier, CharSequence buffer, Class<?> targetClass, Object targetContext) throws IOException
decode in interface Type.Codec.Decoder<CharSequence>IOException