Documentation
¶
Index ¶
- Constants
- Variables
- type Argument
- type Type
- func (t Type) IsColl() bool
- func (t Type) OraType() string
- func (t Type) ProtoMessageName() string
- func (t Type) String() string
- func (t *Type) Valid() bool
- func (t Type) WriteOraToFrom(ctx context.Context, w io.Writer) error
- func (t Type) WriteProtobufMessageType(ctx context.Context, w io.Writer) error
- type Types
Constants ¶
View Source
const ( MessageTypeExtension = 79396128 FieldTypeExtension = 79396128 )
Variables ¶
View Source
var ErrNotSupported = errors.New("not supported")
View Source
var ProtoExtends = protoExtends{
`extend google.protobuf.MessageOptions {
string oracall_object_type = 79396128;
}`,
`extend google.protobuf.FieldOptions {
string oracall_field_type = 79396128;
}`,
}
a number between 1 and 536,870,911 with the following restrictions: The given number must be unique among all fields for that message. Field numbers 19,000 to 19,999 are reserved for the Protocol Buffers implementation. The protocol buffer compiler will complain if you use one of these reserved field numbers in your message.
View Source
var ProtoImports = protoImports{
"google/protobuf/timestamp.proto",
"google/protobuf/descriptor.proto",
}
Functions ¶
This section is empty.
Types ¶
type Type ¶
type Type struct { Elem *Type // SELECT A.package_name, A.type_name, A.typecode, B.attr_type_owner, B.attr_type_name, B.attr_type_package, B.length, B.precision, B.scale, NULL AS index_by Owner, Package, Name string TypeCode, CollType, IndexBy string Arguments []Argument Length, Precision, Scale sql.NullInt32 }
func (Type) ProtoMessageName ¶
Click to show internal directories.
Click to hide internal directories.