Documentation ¶
Index ¶
- func CheckInRange(prop *tableaupb.FieldProp, fd protoreflect.FieldDescriptor, ...) error
- func CheckKeyUnique(prop *tableaupb.FieldProp, key string, existed bool) error
- func CheckMapKeySequence(prop *tableaupb.FieldProp, kind protoreflect.Kind, mapkey protoreflect.MapKey, ...) bool
- func GetSize(prop *tableaupb.FieldProp, detectedSize int) int
- func InReferredSpace(refer string, cellData string, input *Input) (bool, error)
- func IsFixed(prop *tableaupb.FieldProp) bool
- type Input
- type ReferInfo
- type ReferredCache
- type ValueSpace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckInRange ¶ added in v0.10.6
func CheckInRange(prop *tableaupb.FieldProp, fd protoreflect.FieldDescriptor, value protoreflect.Value) error
func CheckKeyUnique ¶ added in v0.10.6
func CheckMapKeySequence ¶ added in v0.9.17
func CheckMapKeySequence(prop *tableaupb.FieldProp, kind protoreflect.Kind, mapkey protoreflect.MapKey, prefMap protoreflect.Map) bool
func GetSize ¶ added in v0.10.6
GetSize returns the specified size of horizontal list/map. detectedSize is the scanned size of name row.
func InReferredSpace ¶ added in v0.10.6
Types ¶
type ReferInfo ¶ added in v0.10.6
type ReferInfo struct { Sheet string // sheet name in workbook. Alias string // sheet alias: if set, used as protobuf message name. Column string // sheet column name in name row. }
func (*ReferInfo) GetMessageName ¶ added in v0.10.6
type ReferredCache ¶ added in v0.10.6
func NewReferredCache ¶ added in v0.10.6
func NewReferredCache() *ReferredCache
func (*ReferredCache) Exists ¶ added in v0.10.6
func (r *ReferredCache) Exists(refer string) bool
func (*ReferredCache) ExistsValue ¶ added in v0.10.6
func (r *ReferredCache) ExistsValue(refer string, value string, loadFunc loadValueSpaceFunc) (bool, error)
func (*ReferredCache) Put ¶ added in v0.10.6
func (r *ReferredCache) Put(refer string, valueSpace *ValueSpace)
type ValueSpace ¶ added in v0.10.6
func NewValueSpace ¶ added in v0.10.6
func NewValueSpace() *ValueSpace
Click to show internal directories.
Click to hide internal directories.