191192193194195196197198
} } case NULL_TYPE: return -1; default: throw new InvalidOperationException(); } }
211212213214215216217218
case FLOAT8: return DatumFactory.createFloat8(val + datum.asFloat8()); case NULL_TYPE: return datum; default: throw new InvalidOperationException(datum.type()); } }
231232233234235236237238
case FLOAT8: return DatumFactory.createFloat8(val - datum.asFloat8()); case NULL_TYPE: return datum; default: throw new InvalidOperationException(datum.type()); } }
251252253254255256257258
case FLOAT8: return DatumFactory.createFloat8(val * datum.asFloat8()); case NULL_TYPE: return datum; default: throw new InvalidOperationException(); } }
271272273274275276277278
case FLOAT8: return DatumFactory.createFloat8(val / datum.asFloat8()); case NULL_TYPE: return datum; default: throw new InvalidOperationException(datum.type()); } }
291292293294295296297298
130131132133134135136137
if (datum.type() == TajoDataTypes.Type.TIME) { return DatumFactory.createBool(time.equals(((TimeDatum) datum).time)); } else if (datum.isNull()) { return datum; } else { throw new InvalidOperationException(); } }
141142143144145146147148
if (datum.type() == TajoDataTypes.Type.TIME) { return time.compareTo(((TimeDatum)datum).time); } else if (datum instanceof NullDatum || datum.isNull()) { return -1; } else { throw new InvalidOperationException(); } }
109110111112113114115116
case BIT: return DatumFactory.createBool(this.val == (((BitDatum) datum).val)); case NULL_TYPE: return datum; default: throw new InvalidOperationException(datum.type()); } }
127128129130131132133134
return 0; } case NULL_TYPE: return -1; default: throw new InvalidOperationException(datum.type()); } }