235236237238239240241242
case FLOAT8: return DatumFactory.createFloat8(val - datum.asFloat8()); case NULL: return datum; default: throw new InvalidOperationException(datum.type()); } }
255256257258259260261262
case FLOAT8: return DatumFactory.createFloat8(val * datum.asFloat8()); case NULL: return datum; default: throw new InvalidOperationException(); } }
275276277278279280281282
case FLOAT8: return DatumFactory.createFloat8(val / datum.asFloat8()); case NULL: return datum; default: throw new InvalidOperationException(datum.type()); } }
295296297298299300301302
111112113114115116117118
return UnsignedBytes.lexicographicalComparator().compare(bytes, datum.asByteArray()); case NULL: return -1; default: throw new InvalidOperationException(); } }
136137138139140141142143
return DatumFactory.createBool(UnsignedBytes.lexicographicalComparator() .compare(bytes, datum.asByteArray()) == 0); case NULL: return DatumFactory.createBool(false); default: throw new InvalidOperationException(); } }
141142143144145146147148
case NULL: return DatumFactory.createBool(false); default: throw new InvalidOperationException(); } }
156157158159160161162163
case NULL: return -1; default: throw new InvalidOperationException(); } }
133134135136137138139140
case FLOAT8: return DatumFactory.createBool(val == datum.asFloat8()); case NULL: return DatumFactory.createBool(false); default: throw new InvalidOperationException(); } }
193194195196197198199200
} } case NULL: return -1; default: throw new InvalidOperationException(); } }