Package io.odysz.semantic.syn
Class Nyquence
java.lang.Object
io.odysz.semantic.syn.Nyquence
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
Get absolute distance.add
(int inc) static int
compareNyq
(long a, long b) Compare a, b within modal of max long.static int
compareNyq
(Nyquence a, Nyquence b) static Nyquence
getn
(AnResultset chal, String nyqcol) Parse Nyquence from result set.static long
maxn
(long a, long b) static Nyquence
static Nyquence
static Nyquence
static Nyquence
static long
minn
(long a, long b) static io.odysz.transact.sql.parts.condition.ExprPart
sqlCompare
(String lcol, long rcol) static io.odysz.transact.sql.parts.condition.ExprPart
sqlCompare
(String lcol, String rcol) static io.odysz.transact.sql.parts.condition.ExprPart
sqlCompare
(String alias, String nyqcol, Nyquence n) static io.odysz.transact.sql.parts.condition.ExprPart
sqlCompare
(String lalias, String lcol, String ralias, String rcol) static io.odysz.transact.sql.parts.condition.ExprPart
// FIXME Not used? Unfinished // FIXME Not used? Unfinished // FIXME Not used? UnfinishedtoString()
-
Field Details
-
n
public long n
-
-
Constructor Details
-
Nyquence
public Nyquence(long n) -
Nyquence
-
-
Method Details
-
compareNyq
public static int compareNyq(long a, long b) Compare a, b within modal of max long.min-long < 0 0 max-long a b a b b a a - b < 0
- Parameters:
a
-b
-- Returns:
- 1 if a > b else -1 if a < b else 0
-
inc
-
add
-
toString
-
maxn
public static long maxn(long a, long b) -
minn
public static long minn(long a, long b) -
maxn
-
maxn
-
compareNyq
-
maxn
-
maxn
-
clone
-
clone
-
getn
Parse Nyquence from result set.- Parameters:
chal
-nyqcol
-- Returns:
- Nyquence
- Throws:
SQLException
-
abs
Get absolute distance.- Parameters:
a
-b
-- Returns:
- | a - b |
-
sqlCompare
-
sqlCompare
-
sqlCompare
-
sqlCompare
-
sqlOrderby
// FIXME Not used? Unfinished // FIXME Not used? Unfinished // FIXME Not used? Unfinished|uids |nyquence|updcols|seq| +------+--------+-------+---+ |X,0002| 2| | 3| |X,0003| 2| | 4| |X,0001| 2| | 2| |Y,0003| 2| | 1| |X,0004| 3| | 2|
- Parameters:
m
-- Returns:
- ??
-