@Test public void testConstant() { LongConstant constant = new LongConstant(0, 923123123123123123L); Assert.assertTrue(constant.isConstant()); Assert.assertEquals(923123123123123123L, constant.getLong(null)); }
@Override public long getLong(Record rec) { return value; }
LongConstant extends LongFunction implements ConstantFunction { @Override public long getLong(Record rec) { return value; } }
LongConstant extends LongFunction implements ConstantFunction { @Override public long getLong(Record rec) { return value; } LongConstant(int position, long value); }
LongConstant extends LongFunction implements ConstantFunction { @Override public long getLong(Record rec) { return value; } LongConstant(int position, long value); @Override long getLong(Record rec); }
LongConstant extends LongFunction implements ConstantFunction { @Override public long getLong(Record rec) { return value; } LongConstant(int position, long value); @Override long getLong(Record rec);  }