Constructor and Description |
---|
PGParameterMetaData(List<Type> parameterTypes,
Map<String,Class<?>> typeMap) |
Modifier and Type | Method and Description |
---|---|
Type |
TypeRef.get() |
Modifier and Type | Method and Description |
---|---|
List<Type> |
PrepareCommand.getDescribedParameterTypes() |
List<Type> |
BindExecCommand.getParameterTypes() |
List<Type> |
FunctionCallCommand.getParameterTypes() |
List<Type> |
PrepareCommand.getParseParameterTypes() |
Modifier and Type | Method and Description |
---|---|
static TypeRef |
TypeRef.from(Type type) |
Modifier and Type | Method and Description |
---|---|
BindExecCommand |
Protocol.createBindExec(String portalName,
String statementName,
List<Type> parameterTypes,
List<Object> parameterValues,
List<ResultField> resultFields,
Class<?> rowType) |
FunctionCallCommand |
Protocol.createFunctionCall(String functionName,
List<Type> parameterTypes,
List<Object> parameterValues) |
PrepareCommand |
Protocol.createPrepare(String statementName,
String sqlText,
List<Type> parameterTypes) |
void |
BindExecCommand.setParameterTypes(List<Type> parameterTypes) |
Constructor and Description |
---|
ResultField(String name,
int relationId,
short relationAttributeIndex,
Type type,
short typeLength,
int typeModifier,
ResultField.Format format) |
Modifier and Type | Method and Description |
---|---|
List<Type> |
PrepareCommandImpl.getDescribedParameterTypes() |
List<Type> |
FunctionCallCommandImpl.getParameterTypes() |
List<Type> |
BindExecCommandImpl.getParameterTypes() |
List<Type> |
PrepareCommandImpl.getParseParameterTypes() |
Modifier and Type | Method and Description |
---|---|
BindExecCommand |
ProtocolImpl.createBindExec(String portalName,
String statementName,
List<Type> parameterTypes,
List<Object> parameterValues,
List<ResultField> resultFields,
Class<?> rowType) |
FunctionCallCommand |
ProtocolImpl.createFunctionCall(String functionName,
List<Type> parameterTypes,
List<Object> parameterValues) |
PrepareCommand |
ProtocolImpl.createPrepare(String statementName,
String sqlText,
List<Type> parameterTypes) |
protected int |
ProtocolImpl.lengthOfParams(List<Type> paramTypes,
List<Object> paramValues,
Context context) |
protected void |
ProtocolImpl.loadParams(io.netty.buffer.ByteBuf buffer,
List<Type> paramTypes,
List<Object> paramValues,
Context context) |
void |
BindExecCommandImpl.setParameterTypes(List<Type> parameterTypes) |
void |
ProtocolImpl.writeBind(io.netty.buffer.ByteBuf msg,
String portalName,
String stmtName,
List<Type> parameterTypes,
List<Object> parameterValues,
List<ResultField.Format> resultFieldFormats,
boolean computeLength) |
void |
ProtocolImpl.writeFunctionCall(io.netty.buffer.ByteBuf msg,
int functionId,
List<Type> paramTypes,
List<Object> paramValues) |
void |
ProtocolImpl.writeParse(io.netty.buffer.ByteBuf msg,
String stmtName,
String query,
List<Type> paramTypes) |
Constructor and Description |
---|
BindExecCommandImpl(String portalName,
String statementName,
List<Type> parameterTypes,
List<Object> parameterValues,
List<ResultField> resultFields,
Class<?> rowType) |
FunctionCallCommandImpl(String functionName,
List<Type> parameterTypes,
List<Object> parameterValues) |
PrepareCommandImpl(String statementName,
String query,
List<Type> parseParameterTypes) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
DecoratorContext.lookupInstanceType(Type type) |
Class<?> |
TypeMapContext.lookupInstanceType(Type type) |
Class<?> |
BasicContext.lookupInstanceType(Type type) |
Class<?> |
Context.lookupInstanceType(Type type) |
Modifier and Type | Method and Description |
---|---|
com.impossibl.postgres.system.BasicContext.PreparedQuery |
BasicContext.prepareUtilQuery(String name,
String sql,
List<Type> parameterTypes) |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
BinaryDecoder.decode(Type type,
Short typeLength,
Integer typeModifier,
io.netty.buffer.ByteBuf buffer,
Context context) |
String |
Strings.BinDecoder.decode(Type type,
Short typeLength,
Integer typeModifier,
io.netty.buffer.ByteBuf buffer,
Context context) |
String |
Names.TxtDecoder.decode(Type type,
Short typeLength,
Integer typeModifier,
CharSequence buffer,
Context context) |
String |
Strings.TxtDecoder.decode(Type type,
Short typeLength,
Integer typeModifier,
CharSequence buffer,
Context context) |
protected abstract Object |
TextDecoder.decode(Type type,
Short typeLength,
Integer typeModifier,
CharSequence buffer,
Context context) |
Object |
BinaryDecoder.decode(Type type,
Short typeLength,
Integer typeModifier,
Object buffer,
Context context) |
Object |
TextDecoder.decode(Type type,
Short typeLength,
Integer typeModifier,
Object buffer,
Context context) |
void |
Strings.BinEncoder.encode(Type type,
io.netty.buffer.ByteBuf buffer,
Object val,
Context context) |
protected abstract void |
BinaryEncoder.encode(Type type,
io.netty.buffer.ByteBuf buffer,
Object val,
Context context) |
void |
Domains.BinEncoder.encode(Type type,
io.netty.buffer.ByteBuf buffer,
Object value,
Context context) |
void |
TextEncoder.encode(Type type,
Object buffer,
Object value,
Context context) |
void |
BinaryEncoder.encode(Type type,
Object buffer,
Object value,
Context context) |
void |
Names.TxtEncoder.encode(Type type,
StringBuilder buffer,
Object val,
Context context) |
void |
Strings.TxtEncoder.encode(Type type,
StringBuilder buffer,
Object val,
Context context) |
protected abstract void |
TextEncoder.encode(Type type,
StringBuilder buffer,
Object val,
Context context) |
void |
Domains.TxtEncoder.encode(Type type,
StringBuilder buffer,
Object value,
Context context) |
static int |
Arrays.getDimensions(Class<?> type,
Type elementType) |
int |
Strings.BinEncoder.length(Type type,
Object val,
Context context) |
int |
TextEncoder.length(Type type,
Object val,
Context context) |
int |
BinaryEncoder.length(Type type,
Object val,
Context context) |
int |
Domains.BinEncoder.length(Type type,
Object val,
Context context) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayType
A database array type.
|
class |
BaseType
A database primitive type
|
class |
CompositeType
A database composite type.
|
class |
DomainType
A database domain type.
|
class |
EnumerationType
A database enumeration type.
|
class |
PsuedoType
A database psuedo type.
|
class |
RangeType
A database range type.
|
Modifier and Type | Field and Description |
---|---|
Type |
CompositeType.Attribute.type |
Modifier and Type | Method and Description |
---|---|
Type |
RangeType.getBase() |
Type |
DomainType.getBase() |
Type |
ArrayType.getElementType() |
Type |
Registry.loadType(int typeId)
Loads a type by its type-id (aka OID)
|
Type |
Registry.loadType(String name)
Loads a type by its name
|
Type |
Type.unwrap()
Strips all "wrapping" type (e.g.
|
Type |
ArrayType.unwrap() |
Type |
RangeType.unwrap() |
Type |
DomainType.unwrap() |
Type |
EnumerationType.unwrap() |
Type |
ArrayType.unwrapAll() |
Modifier and Type | Method and Description |
---|---|
Object |
Type.Codec.Decoder.decode(Type type,
Short typeLength,
Integer typeModifier,
Object buffer,
Context context) |
void |
Type.Codec.Encoder.encode(Type type,
Object buffer,
Object value,
Context context) |
int |
Type.Codec.Encoder.length(Type type,
Object value,
Context context) |
void |
RangeType.setBase(Type base) |
void |
DomainType.setBase(Type base) |
void |
ArrayType.setElementType(Type elementType) |
Copyright © 2013-2015 impossibl.com. All Rights Reserved.