Class Procs
- java.lang.Object
-
- com.impossibl.postgres.system.procs.Procs
-
public class Procs extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Type.Codec.Decoder<io.netty.buffer.ByteBuf>
DEFAULT_BINARY_DECODER
static Type.Codec.Encoder<io.netty.buffer.ByteBuf>
DEFAULT_BINARY_ENCODER
static Modifiers.Parser
DEFAULT_MOD_PARSER
static Type.Codec.Decoder<CharSequence>
DEFAULT_TEXT_DECODER
static Type.Codec.Encoder<StringBuilder>
DEFAULT_TEXT_ENCODER
-
Constructor Summary
Constructors Constructor Description Procs(ServerInfo serverInfo, ClassLoader classLoader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isDefaultDecoder(Type.Codec.Decoder<?> decoder)
static boolean
isDefaultEncoder(Type.Codec.Encoder<?> encoder)
<Buffer> Type.Codec.Decoder<Buffer>
loadDecoderProc(String name, Type.Codec.Decoder<Buffer> defaultDecoder, Class<? extends Buffer> bufferType)
<Buffer> Type.Codec.Encoder<Buffer>
loadEncoderProc(String name, Type.Codec.Encoder<Buffer> defaultEncoder, Class<? extends Buffer> bufferType)
Modifiers.Parser
loadModifierParserProc(String name)
Type.BinaryCodec
loadNamedBinaryCodec(String baseName)
Type.TextCodec
loadNamedTextCodec(String baseName)
-
-
-
Field Detail
-
DEFAULT_TEXT_DECODER
public static final Type.Codec.Decoder<CharSequence> DEFAULT_TEXT_DECODER
-
DEFAULT_BINARY_DECODER
public static final Type.Codec.Decoder<io.netty.buffer.ByteBuf> DEFAULT_BINARY_DECODER
-
DEFAULT_TEXT_ENCODER
public static final Type.Codec.Encoder<StringBuilder> DEFAULT_TEXT_ENCODER
-
DEFAULT_BINARY_ENCODER
public static final Type.Codec.Encoder<io.netty.buffer.ByteBuf> DEFAULT_BINARY_ENCODER
-
DEFAULT_MOD_PARSER
public static final Modifiers.Parser DEFAULT_MOD_PARSER
-
-
Constructor Detail
-
Procs
public Procs(ServerInfo serverInfo, ClassLoader classLoader)
-
-
Method Detail
-
isDefaultDecoder
public static boolean isDefaultDecoder(Type.Codec.Decoder<?> decoder)
-
isDefaultEncoder
public static boolean isDefaultEncoder(Type.Codec.Encoder<?> encoder)
-
loadNamedTextCodec
public Type.TextCodec loadNamedTextCodec(String baseName)
-
loadNamedBinaryCodec
public Type.BinaryCodec loadNamedBinaryCodec(String baseName)
-
loadEncoderProc
public <Buffer> Type.Codec.Encoder<Buffer> loadEncoderProc(String name, Type.Codec.Encoder<Buffer> defaultEncoder, Class<? extends Buffer> bufferType)
-
loadDecoderProc
public <Buffer> Type.Codec.Decoder<Buffer> loadDecoderProc(String name, Type.Codec.Decoder<Buffer> defaultDecoder, Class<? extends Buffer> bufferType)
-
loadModifierParserProc
public Modifiers.Parser loadModifierParserProc(String name)
-
-