Package | Description |
---|---|
com.impossibl.postgres.jdbc | |
com.impossibl.postgres.protocol | |
com.impossibl.postgres.protocol.v30 | |
com.impossibl.postgres.system | |
com.impossibl.postgres.types |
Modifier and Type | Method and Description |
---|---|
static void |
PGBuffersArray.encode(Context context,
Type componentType,
FieldFormat format,
Object value,
List<io.netty.buffer.ByteBuf> elementBuffers) |
Constructor and Description |
---|
PGBuffersArray(Context context,
ArrayType type,
FieldFormat elementFormat,
io.netty.buffer.ByteBuf[] elementBuffers,
int[] dimensions) |
Modifier and Type | Field and Description |
---|---|
static FieldFormat[] |
FieldFormats.REQUEST_ALL_BINARY |
static FieldFormat[] |
FieldFormats.REQUEST_ALL_TEXT |
Modifier and Type | Method and Description |
---|---|
FieldFormat |
FieldFormat.getFormat() |
FieldFormat |
FieldFormatRef.getFormat() |
FieldFormat |
ResultField.getFormat() |
static FieldFormat |
FieldFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldFormat[] |
FieldFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ResultField.setFormat(FieldFormat v) |
Constructor and Description |
---|
ResultField(String name,
int relationId,
short relationAttributeNumber,
TypeRef typeRef,
short typeLength,
int typeModifier,
FieldFormat format) |
ResultField(String name,
int relationId,
short relationAttributeNumber,
Type type,
short typeLength,
int typeModifier,
FieldFormat format) |
Modifier and Type | Method and Description |
---|---|
ProtocolHandler |
ProtocolHandler.CopyBothResponse.copyBoth(CopyFormat format,
FieldFormat[] fieldFormats) |
InputStream |
ProtocolHandler.CopyInResponse.copyIn(CopyFormat format,
FieldFormat[] fieldFormats) |
ProtocolHandler |
ProtocolHandler.CopyOutResponse.copyOut(CopyFormat format,
FieldFormat[] fieldFormats) |
Modifier and Type | Field and Description |
---|---|
static FieldFormat[] |
Empty.EMPTY_FORMATS |
Modifier and Type | Field and Description |
---|---|
static Setting<FieldFormat> |
SystemSettings.FIELD_FORMAT_PREF |
static Setting<FieldFormat> |
SystemSettings.PARAM_FORMAT_PREF |
Modifier and Type | Method and Description |
---|---|
FieldFormat |
NestedArrayType.getElementFormat() |
FieldFormat |
Type.getParameterFormat() |
FieldFormat |
Type.getResultFormat() |
Modifier and Type | Method and Description |
---|---|
Type.Codec<?,?> |
Type.getCodec(FieldFormat format) |
boolean |
Type.isParameterFormatSupported(FieldFormat format) |
boolean |
RangeType.isParameterFormatSupported(FieldFormat format) |
boolean |
DomainType.isParameterFormatSupported(FieldFormat format) |
boolean |
ArrayType.isParameterFormatSupported(FieldFormat format) |
boolean |
EnumerationType.isParameterFormatSupported(FieldFormat format) |
boolean |
Type.isResultFormatSupported(FieldFormat format) |
boolean |
RangeType.isResultFormatSupported(FieldFormat format) |
boolean |
DomainType.isResultFormatSupported(FieldFormat format) |
boolean |
ArrayType.isResultFormatSupported(FieldFormat format) |
boolean |
EnumerationType.isResultFormatSupported(FieldFormat format) |
Constructor and Description |
---|
ArrayType(int id,
String name,
Short length,
Byte alignment,
Type.Category category,
char delimeter,
int arrayTypeId,
Procs procs,
FieldFormat preferredParameterFormat,
FieldFormat preferredResultFormat,
Type elementType) |
ArrayType(int id,
String name,
Short length,
Byte alignment,
Type.Category category,
char delimeter,
int arrayTypeId,
String procName,
Procs procs,
FieldFormat preferredParameterFormat,
FieldFormat preferredResultFormat,
Type elementType) |
ArrayType(int id,
String name,
String namespace,
Short length,
Byte alignment,
Type.Category category,
char delimeter,
int arrayTypeId,
Type.BinaryCodec binaryCodec,
Type.TextCodec textCodec,
Modifiers.Parser modifierParser,
FieldFormat preferredParameterFormat,
FieldFormat preferredResultFormat,
Type elementType) |
BaseType(int id,
String name,
Short length,
Byte alignment,
Type.Category category,
char delimeter,
int arrayTypeId,
Procs procs,
FieldFormat preferredParameterFormat,
FieldFormat preferredResultFormat) |
BaseType(int id,
String name,
String namespace,
Short length,
Byte alignment,
Type.Category category,
char delimeter,
int arrayTypeId,
String procName,
Procs procs,
FieldFormat preferredParameterFormat,
FieldFormat preferredResultFormat) |
NestedArrayType(ArrayType arrayType,
Type elementType,
FieldFormat elementFormat,
int[] dimensions) |
Type(int id,
String name,
String namespace,
Short length,
Byte alignment,
Type.Category category,
Character delimeter,
Integer arrayTypeId,
Type.BinaryCodec binaryCodec,
Type.TextCodec textCodec,
Modifiers.Parser modifierParser,
FieldFormat preferredParameterFormat,
FieldFormat preferredResultFormat) |