This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
magik-demo:developer:class:core:tcstatement [2013/07/19 11:27] alex [getter and setter methods] |
magik-demo:developer:class:core:tcstatement [2017/07/06 15:24] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
Table Completeness (TC) statement describes a table completeness statement as it is defined by Razniewski&Nutt(VLDB2011). | Table Completeness (TC) statement describes a table completeness statement as it is defined by Razniewski&Nutt(VLDB2011). | ||
- | Namely, Compl(R(x);G) is a table completeness statement for the relation R, and under the condition G. \\ | + | {{ :magik-demo:developer:schema2.png?nolink&600 |}} |
- | Condition G is a conjunction of atoms and x is a vector of arity R. \\ | + | |
+ | Namely, Compl(R(x);G) is a table completeness statement for the relation R, and under the condition G. | ||
+ | |||
+ | Condition G is a conjunction of atoms and x is a vector of arity R. | ||
A TC statement is satisfied with a partial db D=(Di,Da) if R(x)(Di) {{:magik-demo:developer:class:core:subset_of_or_equal_to_icon_256x256.png?nolink&11|}} (R(x),G)(Da). | A TC statement is satisfied with a partial db D=(Di,Da) if R(x)(Di) {{:magik-demo:developer:class:core:subset_of_or_equal_to_icon_256x256.png?nolink&11|}} (R(x),G)(Da). | ||
Line 20: | Line 24: | ||
</code> | </code> | ||
- | ===== Class Constructor ===== | + | ===== Class Constructors ===== |
==== TCStatement ==== | ==== TCStatement ==== | ||
<code java> | <code java> | ||
Line 87: | Line 91: | ||
---- | ---- | ||
+ | ==== clone ==== | ||
+ | <code java> | ||
+ | @Override | ||
+ | public Object clone () | ||
+ | </code> | ||
+ | |||
+ | **Returns:** | ||
+ | * cloned object (TCStatement type) | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== equals ==== | ||
+ | <code java> | ||
+ | @Override | ||
+ | public boolean equals (Object o) | ||
+ | </code> | ||
+ | |||
+ | Implementation for checking the equality for TCStatement | ||
+ | |||
+ | **Returns:** | ||
+ | * //true// if equal, //false// otherwise | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== toString ==== | ||
+ | <code java> | ||
+ | @Override | ||
+ | public String toString () | ||
+ | </code> | ||
+ | |||
+ | Implementation for converting in String format TCStatements. | ||
+ | |||
+ | Format: **''Compl(table[term1,term2,term3])''** | ||
+ | |||
+ | |||
+ | **Returns:** | ||
+ | * String version of the TC - statement | ||
+ | |||
+ | |||
+ | ---- | ||
==== getter and setter methods ==== | ==== getter and setter methods ==== | ||
<code java> | <code java> | ||
Line 108: | Line 154: | ||
</code> | </code> | ||
- | ---- | + | [[magik-demo:developer:class:core:tcstatement|Back to Top]] | [[magik-demo:start|Back to Home Page]] |