use of com.yahoo.bullet.querying.evaluators.FieldEvaluator in project bullet-core by yahoo.
the class ExplodeFunctorTest method testConstructor.
@Test
public void testConstructor() {
Explode explode = new Explode(new FieldExpression("abc"), "foo", "bar", true);
ExplodeFunctor functor = new ExplodeFunctor(explode);
Assert.assertTrue(functor.field instanceof FieldEvaluator);
Assert.assertEquals(functor.keyAlias, "foo");
Assert.assertEquals(functor.valueAlias, "bar");
Assert.assertTrue(functor.outer);
}
Aggregations