DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Describes the information of a data type as found in a SQL string. More...
Protected Member Functions | |
override ISqlNode | OnChildNode (ISqlNode node) |
During the initialization of the node from the parser, this method is called for every child node added to ChildNodes More... | |
Protected Member Functions inherited from Deveel.Data.Sql.Parser.SqlNode | |
virtual void | OnNodeInit () |
After the initialization of the node from the parser, this method is invoked to let the specific initialization to occur. More... | |
Package Functions | |
DataTypeNode () | |
Constructs an empty DataTypeNode. More... | |
Properties | |
bool | IsPrimitive [get, private set] |
Gets a boolean value indicating if the data type found is a primitive. More... | |
string | TypeName [get, private set] |
Gets the name of the data type, if IsPrimitive is true . More... | |
int | Size [get, private set] |
Gets the size specification of the data-type. More... | |
bool | HasSize [get, private set] |
Gets a value indicating if the data-type specification has a size value. More... | |
int | Scale [get, private set] |
Gets the scaling factor of a numeric data-type. More... | |
bool | HasScale [get, private set] |
Gets a value indicating if the data-type specification has a scaling factor value indicated. More... | |
int | Precision [get, private set] |
Get the precision of a data-type that is NUMERIC . More... | |
bool | HasPrecision [get, private set] |
In case this data-type is a NUMERIC type, this gets a value indicating if a precision specification was defined. More... | |
string | Locale [get, private set] |
In case the data-type is a STRING type, this gets the locale string used to collate the values handled by the type. More... | |
bool | HasLocale [get, private set] |
In case the data-type is a STRING type, this indicates if the data-type specification includes a locale definition. More... | |
string | Encoding [get, private set] |
bool | HasEncoding [get, private set] |
Dictionary< string, string > | Metadata [get, private set] |
Properties inherited from Deveel.Data.Sql.Parser.SqlNode | |
ISqlNode | Parent [get, private set] |
Gets the parent of the current node. More... | |
string | NodeName [get, private set] |
Gets the name of the node, as expressed in the SQL grammar. More... | |
IEnumerable< ISqlNode > | ChildNodes [get, private set] |
Gets an immutable list of nodes, children of the current node. More... | |
IEnumerable< Token > | Tokens [get, private set] |
Gets an immutable list of Token that represent the source of this node. More... | |
string ISqlNode. | NodeName [get] |
ISqlNode ISqlNode. | Parent [get] |
IEnumerable< ISqlNode > ISqlNode. | ChildNodes [get] |
IEnumerable< Token > ISqlNode. | Tokens [get] |
Properties inherited from Deveel.Data.Sql.Parser.ISqlNode | |
string | NodeName [get] |
Gets the name of the node analyzed from the parser. More... | |
ISqlNode | Parent [get] |
Gets a reference to the parent ISqlNode, if any. More... | |
IEnumerable< ISqlNode > | ChildNodes [get] |
Gets a read-only enumeration of the children nodes, if any. More... | |
IEnumerable< Token > | Tokens [get] |
Gets an enumeration of the tokens composing the this node. More... | |
Private Member Functions | |
void | GetBooleanType (ISqlNode node) |
void | GetUserType (ISqlNode node) |
void | GetMeta (ISqlNode node) |
void | GetSimpleType (ISqlNode node) |
void | GetSizedType (ISqlNode node) |
void | GetLocale (ISqlNode node) |
void | GetEncoding (ISqlNode node) |
void | GetDataSize (ISqlNode node) |
void | GetNumberType (ISqlNode node) |
void | GetNumberPrecision (ISqlNode node) |
Additional Inherited Members | |
Public Member Functions inherited from Deveel.Data.Sql.Parser.SqlNode | |
SqlNode () | |
Describes the information of a data type as found in a SQL string.
Definition at line 28 of file DataTypeNode.cs.
|
inlinepackage |
Constructs an empty DataTypeNode.
Definition at line 32 of file DataTypeNode.cs.
|
inlineprivate |
Definition at line 141 of file DataTypeNode.cs.
|
inlineprivate |
Definition at line 204 of file DataTypeNode.cs.
|
inlineprivate |
Definition at line 195 of file DataTypeNode.cs.
|
inlineprivate |
Definition at line 186 of file DataTypeNode.cs.
|
inlineprivate |
Definition at line 155 of file DataTypeNode.cs.
|
inlineprivate |
Definition at line 224 of file DataTypeNode.cs.
|
inlineprivate |
Definition at line 213 of file DataTypeNode.cs.
|
inlineprivate |
Definition at line 165 of file DataTypeNode.cs.
|
inlineprivate |
Definition at line 170 of file DataTypeNode.cs.
|
inlineprivate |
Definition at line 146 of file DataTypeNode.cs.
|
inlineprotectedvirtual |
During the initialization of the node from the parser, this method is called for every child node added to ChildNodes
node | The node being added to the list of children. |
Reimplemented from Deveel.Data.Sql.Parser.SqlNode.
Definition at line 117 of file DataTypeNode.cs.
|
getprivate set |
Definition at line 111 of file DataTypeNode.cs.
|
getprivate set |
Definition at line 113 of file DataTypeNode.cs.
|
getprivate set |
In case the data-type is a STRING
type, this indicates if the data-type specification includes a locale definition.
Definition at line 109 of file DataTypeNode.cs.
|
getprivate set |
In case this data-type is a NUMERIC
type, this gets a value indicating if a precision specification was defined.
Definition at line 94 of file DataTypeNode.cs.
|
getprivate set |
Gets a value indicating if the data-type specification has a scaling factor value indicated.
Definition at line 81 of file DataTypeNode.cs.
|
getprivate set |
Gets a value indicating if the data-type specification has a size value.
Definition at line 63 of file DataTypeNode.cs.
|
getprivate set |
Gets a boolean value indicating if the data type found is a primitive.
Definition at line 42 of file DataTypeNode.cs.
|
getprivate set |
In case the data-type is a STRING
type, this gets the locale string used to collate the values handled by the type.
Definition at line 102 of file DataTypeNode.cs.
|
getprivate set |
Definition at line 115 of file DataTypeNode.cs.
|
getprivate set |
Get the precision of a data-type that is NUMERIC
.
Definition at line 88 of file DataTypeNode.cs.
|
getprivate set |
Gets the scaling factor of a numeric data-type.
This value is present only if the data-type is NUMERIC
.
Definition at line 74 of file DataTypeNode.cs.
|
getprivate set |
Gets the size specification of the data-type.
In case the type is a NUMERIC
type, this value is not indicated: rather check Scale property.
Definition at line 56 of file DataTypeNode.cs.
|
getprivate set |
Gets the name of the data type, if IsPrimitive is true
.
Definition at line 47 of file DataTypeNode.cs.