The SqlToken type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| SqlToken |
Basic empty constructor.
| |
| SqlToken(String, Int32) |
Constructor, takes name and index of the SqlToken.
|
Methods
| Name | Description | |
|---|---|---|
| ApplyEscapeBrackets |
Wraps the input string with escape brackets. Attempts to
maintain existing padding on the input string.
| |
| ApplyPadding |
Applies padding to any input string using the paddingLeft and paddingRight members
to determine what padding to add to the input string.
| |
| BuildSql |
Renders this token to SQL internally setting the sql member.
| |
| ClauseToString |
Converts an SqlClause object to a string.
Applies padding.
| |
| Clone |
Simple cloning method utilizing the serialization methods.
| |
| CompPrefixToString |
Converts an SqlCompPrefix object to a string.
| |
| CompSuffixToString |
Converts an SqlCompSuffix object to a string.
| |
| ConnectorToString |
Converts an SqlOperatorBool to a string.
Applies padding.
| |
| CreateFromSerial |
Creates a new SqlToken object from a serialized string.
| |
| DataTypeToString |
Converts a data type to a string.
| |
| EscapeString |
Escapes single quotes from strings for DB safety.
| |
| FromSerial |
Populates this object from a serialized SqlToken string.
| |
| GetCommaChar |
Returns the comma character used in column lists.
| |
| GetCompPrefix |
Returns the comparison prefix operator.
| |
| GetCompPrefixAsString |
Returns the comparison prefix operator as a string.
| |
| GetCompSuffix |
Returns the comparison suffix operator.
| |
| GetCompSuffixAsString |
Returns the comparison suffix operator as a string.
| |
| GetConnector |
Returns the connector operator.
| |
| GetConnectorAsString |
Returns the connector as a string.
| |
| GetDataType |
Returns the sql data type.
| |
| GetDataTypeAsString |
Returns the data type for this SqlToken as a string.
| |
| GetEscapeCharLeft |
Returns the left hand side escape character.
| |
| GetEscapeCharRight |
Returns the right hand side escape character.
| |
| GetGroupCharLeft |
Returns the left hand grouping character.
| |
| GetGroupCharRight |
Returns the right hand grouping characters.
| |
| GetGroupIndex |
Returns the group index this SqlToken belongs to.
| |
| GetIndex |
Returns the index of this token in a collection of tokens
that make up an SqlQuery.
| |
| GetName |
Returns the name of this SqlToken.
| |
| GetPaddingLeft |
Indicates if left padding is on.
| |
| GetPaddingRight |
Indicates if right padding is on.
| |
| GetQuoteChar |
Returns the quote character used in char comparisons.
| |
| GetSerial |
Returns the generated serialized string.
| |
| GetSerialLength |
Returns the length of the generated serial string.
| |
| GetSql |
Returns the SQL representation of this SqlToken.
| |
| GetSqlClause |
Returns the clause for the given SqlToken.
| |
| GetSqlClauseAsString |
Returns the clause as a string for the given SqlToken.
Applies padding.
| |
| GetSqlLength |
Returns the length of the generated sql string.
| |
| GetTableName |
Get the stored table name.
| |
| GetTokenType |
Returns the SqlTokenType.
| |
| GetTypeAsString |
Returns the SqlTokeType as a string.
| |
| GetValue |
Gets the value, the base value the sql member is built from.
| |
| GetWildCardChar |
Returns the wild card cahracter used in LIKE comparisons.
| |
| JoinToString |
Converts an SqlJoin object to a string.
Applies padding.
| |
| SetCommaChar |
Sets the comma character used in column lists.
| |
| SetCompPrefix |
Sets the comparison prefix operator.
| |
| SetCompSuffix |
Sets the comparison suffix operator.
| |
| SetConnector |
Sets the connector operator.
| |
| SetDataType |
Sets the sql data type.
| |
| SetEscapeBrackets |
Sets the bracket left/right boolean.
| |
| SetEscapeChars |
Sets the escape characters used to wrap table and column names.
| |
| SetGroupChars |
Sets the characters used to mark a group in the where clause.
| |
| SetGroupIndex |
Sets the group index this SqlToken belongs to.
| |
| SetIndex |
Sets the index of the current token. Used to represent the position
of this SqlToken in a collection of tokens.
| |
| SetName |
Sets the name of the current SqlToken.
| |
| SetPadding |
Sets the padding configuration for this object.
| |
| SetQuoteChar |
Sets the quote character used in string comparisons.
| |
| SetSqlClause |
Sets the SQL clause this SqlToken is associated with.
| |
| SetTableName |
Sets the current table name, used in column references.
| |
| SetType |
Sets the SqlTokenType.
| |
| SetValue |
Set the base value the sql member is built from.
| |
| SetWildCardChar |
Sets the wild card characters used in LIKE comparisons.
| |
| TokenTypeToString |
Returns a token type object as a string.
| |
| ToSerial |
Converts this object to a serialized string.
| |
| ToString |
Returns a string representation of the contents of this object.
(Overrides Object ToString .) |
Fields
| Name | Description | |
|---|---|---|
| bracketLeft | ||
| bracketRight | ||
| clause | ||
| commaChar | ||
| compPrefix | ||
| compSuffix | ||
| connector | ||
| dataType | ||
| escapeCharLeft | ||
| escapeCharRight | ||
| groupCharLeft | ||
| groupCharRight | ||
| groupIndex | ||
| index | ||
| name | ||
| paddingLeft | ||
| paddingRight | ||
| quoteChar | ||
| serial | ||
| SERIALIZATION_COL_DELIM |
Serialization string used to separate columns of data in a serialized string.
| |
| sql | ||
| tableName | ||
| type | ||
| value | ||
| wildCardChar |
See Also