Modifier and Type | Class and Description |
---|---|
class |
PGDirectConnection
Direct connection implementation
|
Modifier and Type | Field and Description |
---|---|
protected Context |
PGArray.context |
protected Context |
PGStruct.context |
Modifier and Type | Method and Description |
---|---|
static PGBuffersArray |
PGBuffersArray.encode(Context context,
ArrayType type,
Object array) |
static PGBuffersStruct.Binary |
PGBuffersStruct.Binary.encode(Context context,
CompositeType type,
Object[] values) |
static void |
PGBuffersArray.encode(Context context,
Type componentType,
FieldFormat format,
Object value,
List<io.netty.buffer.ByteBuf> elementBuffers) |
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 abstract Object |
PGBuffersStruct.getAttribute(Context context,
Type type,
Buffer buffer) |
protected Object |
PGBuffersStruct.Binary.getAttribute(Context context,
Type type,
io.netty.buffer.ByteBuf buffer) |
protected Object |
PGBuffersStruct.Text.getAttribute(Context context,
Type type,
CharSequence buffer) |
Object[] |
PGValuesStruct.getAttributes(Context context) |
Object[] |
PGBuffersStruct.getAttributes(Context context) |
abstract Object[] |
PGStruct.getAttributes(Context context) |
protected abstract ResultSet |
PGArray.getResultSet(Context context,
long index,
int count) |
protected ResultSet |
PGBuffersArray.getResultSet(Context context,
long index,
int count) |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
Type[] |
RequestExecutorHandlers.PrepareResult.getDescribedParameterTypes(Context context) |
Object |
RowData.getField(int fieldIdx,
ResultField field,
Context context,
Class<?> targetClass,
Object targetContext) |
Object |
FieldBuffersRowData.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) |
Modifier and Type | Method and Description |
---|---|
static BufferRowData |
BufferRowData.encode(Context context,
ResultField[] fields,
Object[] values) |
Object |
BufferRowData.getField(int fieldIdx,
ResultField field,
Context context,
Class<?> targetClass,
Object targetContext) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractContext |
class |
BasicContext |
class |
SettingsContext |
class |
TypeMapContext |
Modifier and Type | Method and Description |
---|---|
Context |
BasicContext.unwrap() |
Context |
Context.unwrap() |
Modifier and Type | Method and Description |
---|---|
void |
TypeMapContext.reset(Context base,
Map<String,Class<?>> typeMap) |
Constructor and Description |
---|
SettingsContext(Context context,
Map<String,Class<?>> typeMap) |
TypeMapContext(Context context,
Map<String,Class<?>> typeMap) |
Modifier and Type | Method and Description |
---|---|
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 |
Strings.BinEncoder.encodeValue(Context context,
Type type,
Object value,
Object sourceContext,
io.netty.buffer.ByteBuf buffer) |
protected void |
Domains.BinEncoder.encodeValue(Context context,
Type type,
Object value,
Object sourceContext,
io.netty.buffer.ByteBuf buffer) |
protected void |
Jsons.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) |
protected void |
Domains.TxtEncoder.encodeValue(Context context,
Type type,
Object value,
Object sourceContext,
StringBuilder buffer) |
protected void |
Names.TxtEncoder.encodeValue(Context context,
Type type,
Object value,
Object sourceContext,
StringBuilder buffer) |
Modifier and Type | Method and Description |
---|---|
static <R extends Table.Row,T extends Table<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) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |