Package osh :: Package external :: Package pg8000 :: Module pg8000 :: Class Types
[frames] | no frames]

Class Types

source code

object --+
         |
        Types

Nested Classes
  FixedOffsetTz
Instance Methods
 
boolin(data, **kwargs) source code
 
boolrecv(data, **kwargs) source code
 
int2recv(data, **kwargs) source code
 
int2in(data, **kwargs) source code
 
int4recv(data, **kwargs) source code
 
int4in(data, **kwargs) source code
 
int8recv(data, **kwargs) source code
 
int8in(data, **kwargs) source code
 
float4in(data, **kwargs) source code
 
float4recv(data, **kwargs) source code
 
float8recv(data, **kwargs) source code
 
float8in(data, **kwargs) source code
 
float8send(v, **kwargs) source code
 
timestamp_in(data, **kwargs) source code
 
timestamp_out(v, **kwargs) source code
 
numeric_in(data, **kwargs) source code
 
numeric_out(v, **kwargs) source code
 
varcharin(data, client_encoding, **kwargs) source code
 
textout(v, client_encoding, **kwargs) source code
 
timestamptz_in(data, description) source code
 
byteasend(v, **kwargs) source code
 
bytearecv(data, **kwargs) source code
 
interval_in(data, **kwargs) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods
 
pg_type_info(typ) source code
 
pg_value(v, fc, **kwargs) source code
 
py_type_info(description) source code
 
py_value(v, description, **kwargs) source code
Class Variables
  py_types = {<type 'float'>: {'bin_out': <function float8send a...
  pg_types = {16: {'bin_in': <function boolrecv at 0x13ef770>, '...
Properties

Inherited from object: __class__

Class Variable Details

py_types

Value:
{<type 'float'>: {'bin_out': <function float8send at 0x13efa30>,
                  'tid': 701},
 <type 'int'>: {'tid': 1700,
                'txt_out': <function numeric_out at 0x13efb30>},
 <type 'long'>: {'tid': 1700,
                 'txt_out': <function numeric_out at 0x13efb30>},
 <type 'NoneType'>: {'tid': -1},
 <type 'str'>: {'tid': 25, 'txt_out': <function textout at 0x13efbb0>}\
...

pg_types

Value:
{16: {"txt_in": boolin, "bin_in": boolrecv, "prefer": "bin"}, 17: {"bi\
n_in": bytearecv}, 20: {"txt_in": int8in, "bin_in": int8recv, "prefer"\
: "bin"}, 21: {"txt_in": int2in, "bin_in": int2recv, "prefer": "bin"},\
 23: {"txt_in": int4in, "bin_in": int4recv, "prefer": "bin"}, 25: {"tx\
t_in": varcharin}, 26: {"txt_in": numeric_in}, 700: {"txt_in": float4i\
n, "bin_in": float4recv, "prefer": "bin"}, 701: {"txt_in": float8in, "\
bin_in": float8recv, "prefer": "bin"}, 1042: {"txt_in": varcharin}, 10\
43: {"txt_in": varcharin}, 1114: {"txt_in": timestamp_in}, 1186: {"txt\
...