 |
Qore DataProvider Module Reference
1.0.1
|
71 "desc":
"if True then NULL is not supported on input if NOTHING is also not accepted",
79 "float": SoftFloatType,
80 "number": SoftNumberType,
81 "string": SoftStringType,
83 "list": SoftAutoListType,
84 "*int": SoftIntOrNothingType,
85 "*bool": SoftBoolOrNothingType,
86 "*float": SoftFloatOrNothingType,
87 "*number": SoftNumberOrNothingType,
88 "*string": SoftStringOrNothingType,
89 "*date": SoftDateOrNothingType,
90 "*list": SoftAutoListOrNothingType,
130 *hash<string, AbstractDataField>
getFields();
hash< string, bool > base_type_hash
hash of base types where no translations are performed; keys are type codes, not names
Definition: QoreDataType.qc.dox.h:56
hash< DataTypeInfo > getInfo()
returns a description of the type as a hash
const SupportedOptions
supported options
Definition: QoreDataType.qc.dox.h:68
describes a data type
Definition: AbstractDataProviderType.qc.dox.h:161
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
*Type getValueType()
returns the base type for the type, if any
const SoftTypeMap
map from normal types to soft types
Definition: QoreDataType.qc.dox.h:76
*hash< string, AbstractDataField > getFields()
returns the fields of the data structure; if any
*hash< string, hash< DataProviderTypeOptionInfo > > getSupportedOptions()
returns supported options
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
bool or_nothing_type
flag for "or nothing" types
Definition: QoreDataType.qc.dox.h:48
*hash< string, bool > accept_type_hash
hash of base types accepted by this type; keys are type names
Definition: QoreDataType.qc.dox.h:59
describes type options
Definition: AbstractDataProviderType.qc.dox.h:122
AbstractDataProviderType getSoftType()
returns a "soft" type equivalent to the current type
hash< string, bool > getAcceptTypeHash()
returns a hash of base types accepted by this type; keys are type names
AbstractDataProviderType getOrNothingType()
returns an "or nothing" type equivalent to the current type
string getName()
returns the type name
bool soft_type
flag for soft types
Definition: QoreDataType.qc.dox.h:45
hash< string, bool > blacklist_type_hash
hash of type codes accepted by the base type but not accepted by this type: code -> True
Definition: QoreDataType.qc.dox.h:65
hash< auto > options
type options
Definition: AbstractDataProviderType.qc.dox.h:169
*hash< string, bool > return_type_hash
hash of base types returned by this type; keys are type names
Definition: QoreDataType.qc.dox.h:62
hash< string, bool > getReturnTypeHash()
returns a hash of base types returned by this type; keys are type names
*hash< string, bool > getDirectTypeHash()
returns a hash of native base type code where no translations are performed; keys are type codes,...
*AbstractDataProviderType getElementType()
returns the subtype (for lists or hashes) if there is only one
constructor()
creates the type
Type type
the Qore type
Definition: QoreDataType.qc.dox.h:42
describes a data type based on a Qore data type
Definition: QoreDataType.qc.dox.h:37