Package overit.geocall.sql.code
Class Update
java.lang.Object
overit.geocall.sql.code.fragment.Fragment
overit.geocall.sql.code.fragment.FragmentSequence
overit.geocall.sql.code.Sql
overit.geocall.sql.code.Update
The class extends
Sql ad aims to represnt and define an instance of sql statement "UPDATE SET WHERE".-
Field Summary
FieldsFields inherited from class overit.geocall.sql.code.fragment.FragmentSequence
_fragments, _prefix, _separator, _suffixFields inherited from class overit.geocall.sql.code.fragment.Fragment
_criterion -
Constructor Summary
ConstructorsConstructorDescriptionThe class's constructor that sets the structure of the sql statement (as Fragment) "UPDATE SET WHERE".
For example, after the SET keyword, all fields are separated by a comma (field1=value1,field2=value2...) and all clauses in the "WHERE" areAndCondition. -
Method Summary
Methods inherited from class overit.geocall.sql.code.fragment.FragmentSequence
add, add, appendTo, clear, get, sizeMethods inherited from class overit.geocall.sql.code.fragment.Fragment
getCriterion, overlapCriterion, replaceCriterion, toString
-
Field Details
-
_sets
-
_wheres
-
-
Constructor Details
-
Update
The class's constructor that sets the structure of the sql statement (as Fragment) "UPDATE SET WHERE".
For example, after the SET keyword, all fields are separated by a comma (field1=value1,field2=value2...) and all clauses in the "WHERE" areAndCondition.- Parameters:
table- The table in wich we want to update datas.
-
-
Method Details
-
set
Gets the current SET statement.- Returns:
- The current SET statement.
-
where
Gets the current WHERE statement.- Returns:
- The current WHERE statement.
-