Class Names.TxtDecoder
- java.lang.Object
-
- com.impossibl.postgres.system.procs.Names.TxtDecoder
-
- All Implemented Interfaces:
Type.Codec.Decoder<CharSequence>
- Enclosing class:
- Names
public static class Names.TxtDecoder extends Object
-
-
Constructor Summary
Constructors Constructor Description TxtDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
Class<?>
getDefaultClass()
protected boolean
shouldRespectMaxLength()
-
-
-
Method Detail
-
getDefaultClass
public Class<?> getDefaultClass()
-
decodeValue
protected Object decodeValue(Context context, Type type, Short typeLength, Integer typeModifier, CharSequence buffer, Class<?> targetClass, Object targetContext) throws IOException, ParseException
- Throws:
IOException
ParseException
-
shouldRespectMaxLength
protected boolean shouldRespectMaxLength()
-
enableRespectMaxLength
protected void enableRespectMaxLength()
-
decode
public Object decode(Context context, Type type, Short typeLength, Integer typeModifier, CharSequence buffer, Class<?> targetClass, Object targetContext) throws IOException
- Specified by:
decode
in interfaceType.Codec.Decoder<CharSequence>
- Throws:
IOException
-
-