Uses of Interface
com.impossibl.postgres.system.Context
-
-
Uses of Context in com.impossibl.postgres.jdbc
Classes in com.impossibl.postgres.jdbc that implement Context Modifier and Type Class Description class
PGDirectConnection
Direct connection implementationFields in com.impossibl.postgres.jdbc declared as Context Modifier and Type Field Description protected Context
PGArray. context
protected Context
PGStruct. context
Methods in com.impossibl.postgres.jdbc with parameters of type Context Modifier and Type Method Description static PGBuffersArray
PGBuffersArray. encode(Context context, ArrayType type, Object array)
static void
PGBuffersArray. encode(Context context, Type componentType, FieldFormat format, Object value, List<io.netty.buffer.ByteBuf> elementBuffers)
static PGBuffersStruct.Binary
PGBuffersStruct.Binary. encode(Context context, CompositeType type, Object[] values)
protected abstract Object
PGArray. getArray(Context context, Class<?> targetComponentType, long index, int count)
protected Object
PGBuffersArray. getArray(Context context, Class<?> targetComponentType, long index, int count)
protected Object
PGBuffersStruct.Binary. getAttribute(Context context, Type type, io.netty.buffer.ByteBuf buffer)
protected abstract Object
PGBuffersStruct. getAttribute(Context context, Type type, Buffer buffer)
protected Object
PGBuffersStruct.Text. getAttribute(Context context, Type type, CharSequence buffer)
Object[]
PGBuffersStruct. getAttributes(Context context)
abstract Object[]
PGStruct. getAttributes(Context context)
Object[]
PGValuesStruct. getAttributes(Context context)
protected abstract ResultSet
PGArray. getResultSet(Context context, long index, int count)
protected ResultSet
PGBuffersArray. getResultSet(Context context, long index, int count)
Constructors in com.impossibl.postgres.jdbc with parameters of type Context Constructor Description Binary(Context context, String typeName, Type[] attributeTypes, io.netty.buffer.ByteBuf[] attributeBuffers)
Binary(Context context, Type[] attributeTypes, io.netty.buffer.ByteBuf[] attributeBuffers)
PGBuffersArray(Context context, ArrayType type, FieldFormat elementFormat, io.netty.buffer.ByteBuf[] elementBuffers, int[] dimensions)
PGSQLOutput(Context context)
PGValuesStruct(Context context, String typeName, Type[] attributeTypes, Object[] attributeValues)
Text(Context context, String typeName, Type[] attributeTypes, CharSequence[] attributeBuffers)
Text(Context context, Type[] attributeTypes, CharSequence[] attributeBuffers)
-
Uses of Context in com.impossibl.postgres.protocol
Methods in com.impossibl.postgres.protocol with parameters of type Context Modifier and Type Method Description Type[]
RequestExecutorHandlers.PrepareResult. getDescribedParameterTypes(Context context)
Object
FieldBuffersRowData. getField(int fieldIdx, ResultField field, Context context, Class<?> targetClass, Object targetContext)
Object
RowData. getField(int fieldIdx, ResultField field, Context context, Class<?> targetClass, Object targetContext)
void
FieldBuffersRowData. updateField(int columnIndex, ResultField field, Context context, Object source, Object sourceContext)
void
UpdatableRowData. updateField(int columnIndex, ResultField field, Context context, Object source, Object sourceContext)
-
Uses of Context in com.impossibl.postgres.protocol.v30
Methods in com.impossibl.postgres.protocol.v30 with parameters of type Context Modifier and Type Method Description static BufferRowData
BufferRowData. encode(Context context, ResultField[] fields, Object[] values)
Object
BufferRowData. getField(int fieldIdx, ResultField field, Context context, Class<?> targetClass, Object targetContext)
-
Uses of Context in com.impossibl.postgres.system
Classes in com.impossibl.postgres.system that implement Context Modifier and Type Class Description class
AbstractContext
class
BasicContext
class
SettingsContext
class
TypeMapContext
Methods in com.impossibl.postgres.system that return Context Modifier and Type Method Description Context
BasicContext. unwrap()
Context
Context. unwrap()
Methods in com.impossibl.postgres.system with parameters of type Context Modifier and Type Method Description void
TypeMapContext. reset(Context base, Map<String,Class<?>> typeMap)
Constructors in com.impossibl.postgres.system with parameters of type Context Constructor Description SettingsContext(Context context, Map<String,Class<?>> typeMap)
TypeMapContext(Context context, Map<String,Class<?>> typeMap)
-
Uses of Context in com.impossibl.postgres.system.procs
Methods in com.impossibl.postgres.system.procs with parameters of type Context Modifier and Type Method Description protected ResultSet
RefCursors.BinDecoder. decodeNativeValue(Context context, Type type, Short typeLength, Integer typeModifier, io.netty.buffer.ByteBuf buffer, Class<?> targetClass, Object targetContext)
protected ResultSet
RefCursors.TxtDecoder. decodeNativeValue(Context context, Type type, Short typeLength, Integer typeModifier, CharSequence buffer, Class<?> targetClass, Object targetContext)
protected String
Strings.BinDecoder. decodeNativeValue(Context context, Type type, Short typeLength, Integer typeModifier, io.netty.buffer.ByteBuf buffer, Class<?> targetClass, Object targetContext)
protected String
Strings.TxtDecoder. decodeNativeValue(Context context, Type type, Short typeLength, Integer typeModifier, CharSequence buffer, Class<?> targetClass, Object targetContext)
protected Object
Jsons.BinDecoder. decodeValue(Context context, Type type, Short typeLength, Integer typeModifier, io.netty.buffer.ByteBuf buffer, Class<?> targetClass, Object targetContext)
protected Object
Names.TxtDecoder. decodeValue(Context context, Type type, Short typeLength, Integer typeModifier, CharSequence buffer, Class<?> targetClass, Object targetContext)
protected void
Domains.BinEncoder. encodeValue(Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer)
protected void
Domains.TxtEncoder. encodeValue(Context context, Type type, Object value, Object sourceContext, StringBuilder buffer)
protected void
Jsons.BinEncoder. encodeValue(Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer)
protected void
Names.TxtEncoder. encodeValue(Context context, Type type, Object value, Object sourceContext, StringBuilder buffer)
protected void
Strings.BinEncoder. encodeValue(Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer)
protected void
Strings.TxtEncoder. encodeValue(Context context, Type type, Object value, Object sourceContext, StringBuilder buffer)
-
Uses of Context in com.impossibl.postgres.system.tables
Methods in com.impossibl.postgres.system.tables with parameters of type Context Modifier and Type Method Description static <R extends Table.Row,T extends Table<R>>
List<R>Tables. convertRows(Context context, T table, ResultBatch results)
PGTypeTable.Row
PGTypeTable. createRow(Context context, ResultBatch resultBatch, int rowIdx)
R
Table. createRow(Context context, ResultBatch resultBatch, int rowIdx)
Creates and instance of the row type of this table.static <T> T
Table. getFieldOfRow(ResultBatch resultBatch, int rowIdx, int fieldIdx, Context context, Class<T> targetType)
void
PGTypeTable.Row. load(Context context, ResultBatch resultBatch, int rowIdx)
void
Table.Row. load(Context context, ResultBatch resultBatch, int rowIdx)
-
Uses of Context in com.impossibl.postgres.types
Methods in com.impossibl.postgres.types with parameters of type Context Modifier and Type Method Description Object
Type.Codec.Decoder. decode(Context context, Type type, Short typeLength, Integer typeModifier, InBuffer buffer, Class<?> targetClass, Object targetContext)
void
Type.Codec.Encoder. encode(Context context, Type type, Object value, Object sourceContext, OutBuffer buffer)
-
Uses of Context in com.impossibl.postgres.utils
Methods in com.impossibl.postgres.utils with parameters of type Context Modifier and Type Method Description static Object
ByteBufs. lengthDecodeBinary(Type.Codec.Decoder<io.netty.buffer.ByteBuf> decoder, Context context, Type type, Short typeLength, Integer typeModifier, io.netty.buffer.ByteBuf buffer, Class<?> targetClass, Object targetContext)
static void
ByteBufs. lengthEncodeBinary(Type.Codec.Encoder<io.netty.buffer.ByteBuf> encoder, Context context, Type type, Object value, Object sourceContext, io.netty.buffer.ByteBuf buffer)
-