Package com.impossibl.postgres.protocol
Class ResultField
- java.lang.Object
-
- com.impossibl.postgres.protocol.ResultField
-
- All Implemented Interfaces:
FieldFormatRef
public class ResultField extends Object implements FieldFormatRef
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
FieldFormat
getFormat()
String
getName()
short
getRelationAttributeNumber()
int
getRelationId()
short
getTypeLength()
int
getTypeModifier()
TypeRef
getTypeRef()
int
hashCode()
void
setFormat(FieldFormat v)
void
setTypeRef(TypeRef typeRef)
String
toString()
-
-
-
Constructor Detail
-
ResultField
public ResultField(String name, int relationId, short relationAttributeNumber, Type type, short typeLength, int typeModifier, FieldFormat format)
-
ResultField
public ResultField(String name, int relationId, short relationAttributeNumber, TypeRef typeRef, short typeLength, int typeModifier, FieldFormat format)
-
-
Method Detail
-
getName
public String getName()
-
getRelationId
public int getRelationId()
-
getRelationAttributeNumber
public short getRelationAttributeNumber()
-
getTypeRef
public TypeRef getTypeRef()
-
setTypeRef
public void setTypeRef(TypeRef typeRef)
-
getTypeLength
public short getTypeLength()
-
getTypeModifier
public int getTypeModifier()
-
setFormat
public void setFormat(FieldFormat v)
-
getFormat
public FieldFormat getFormat()
- Specified by:
getFormat
in interfaceFieldFormatRef
-
-