Package overit.geocall.sql.code.fragment
package overit.geocall.sql.code.fragment
-
ClassesClassDescriptionThe class extends
Fragmentand aims to representing a clause, how a field (give value) should be translated.The class extendsFragmentand aims to representing a sets of clauses, how field-value couples should be translated and how they should be separated (with a comma, with an 'AND' condition ecc.).The class represent a double piece of SQL string.The class extendsDoubleFragmentand aims to representing a sequence of separated DoubleFragments.The class extendsFragmentand aims to enclose a Double Fragment.
The typical structure that is defined is (KEY) OPERATION (VALUES).
For example is used for the INSERT statement like this INSTERT INTO AUSENTE (AUSENAME, AUSESURNAME) VALUES ('Mario', 'Rossi').The class extendsFragmentand aims to enclose another fragment between a head and a tail string.The class represent a piece that will compose a SQL string.The class extendsFragmentand aims to representing a sequence of separated fragments.
For example "A>B AND C=1" or "AUSENAME,AUSESURNAME".The class extedsFragmentand aims to represent a static fragment, a fixed, invariant word or string.
For example a static sql query like "SELECT * FROM AUSER".The class extendsDoubleFragmentand aims to correctly formatting the clause's key given by input, adding them an '@' character at the start.
For example with a Criterion.EQUAL criterion on AUSENAME field, this will be translate in '@AUSENAME=....' .The class extendsDoubleFragmentand aims to implement a list ofValueFragment.