108109110111112113114115
case NULL_TYPE: return -1; default: throw new InvalidOperationException(); } }
132133134135136137138139
case BLOB: return DatumFactory.createBool(COMPARATOR.compare(bytes, datum.asByteArray()) == 0); case NULL_TYPE: return datum; default: throw new InvalidOperationException("Cannot equivalent check: " + this.type() + " and " + datum.type()); } }
139140141142143144145146
case NULL_TYPE: return datum; default: throw new InvalidOperationException(); } }
154155156157158159160161
120121122123124125126127
case FLOAT8: return DatumFactory.createBool(val == datum.asFloat8()); case NULL_TYPE: return datum; default: throw new InvalidOperationException(); } }
180181182183184185186187
} } case NULL_TYPE: return -1; default: throw new InvalidOperationException(); } }
200201202203204205206207
case FLOAT8: return DatumFactory.createFloat8(val + datum.asFloat8()); case NULL_TYPE: return datum; default: throw new InvalidOperationException(datum.type()); } }
220221222223224225226227
case FLOAT8: return DatumFactory.createFloat8(val - datum.asFloat8()); case NULL_TYPE: return datum; default: throw new InvalidOperationException(datum.type()); } }
240241242243244245246247
case FLOAT8: return DatumFactory.createFloat8(val * datum.asFloat8()); case NULL_TYPE: return datum; default: throw new InvalidOperationException(); } }
260261262263264265266267
case FLOAT8: return DatumFactory.createFloat8(val / datum.asFloat8()); case NULL_TYPE: return datum; default: throw new InvalidOperationException(datum.type()); } }