Examples of ModulesBuilder


Examples of org.elasticsearch.common.inject.ModulesBuilder

    final FunctionIdent ident = new FunctionIdent(CollectionAverageFunction.NAME,
            ImmutableList.<DataType>of(new SetType(DataTypes.LONG)));

    @Test
    public void testLookup() throws Exception {
        Injector injector = new ModulesBuilder().add(
                new ScalarFunctionModule()
        ).createInjector();

        Functions functions = injector.getInstance(Functions.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.