Examples of routineExternalName()


Examples of com.foundationdb.ais.model.AISBuilder.routineExternalName()

                SQLJJar sqljJar = ais.getSQLJJar(jarSchema, jarName);
                if (sqljJar == null)
                    throw new NoSuchSQLJJarException(jarSchema, jarName);
                builder.sqljJar(jarSchema, jarName, sqljJar.getURL());
            }
            builder.routineExternalName(schemaName, routineName,
                                        jarSchema, jarName,
                                        className, methodName);
        }
        if (createAlias.getDefinition() != null) {
            builder.routineDefinition(schemaName, routineName,
View Full Code Here

Examples of com.foundationdb.ais.model.AISBuilder.routineExternalName()

                                    String routineSchema, String routineName) throws MalformedURLException {
        AISBuilder builder = new AISBuilder();
        builder.sqljJar(jarSchema, jarName, new URL("file://ajar.jar"));
        ddl().createSQLJJar(session(), builder.akibanInformationSchema().getSQLJJar(jarSchema, jarName));
        builder.routine(routineSchema, routineName, "java", Routine.CallingConvention.JAVA);
        builder.routineExternalName(routineSchema, routineName, jarSchema, jarName, "className", "method");
        ddl().createRoutine(session(), builder.akibanInformationSchema().getRoutine(routineSchema, routineName), true);
    }

    @After
    public void lookForDanglingStorage() throws Exception {
View Full Code Here

Examples of com.foundationdb.ais.model.TestAISBuilder.routineExternalName()

                          "MCOMPAT", "varchar", 16L, null);
        builder.parameter("test", "proc1", "n2", Parameter.Direction.IN,
                          "MCOMPAT", "decimal", 10L, 5L);
        builder.parameter("test", "proc1", null, Parameter.Direction.OUT,
                          "MCOMPAT", "varchar", 100L, null);
        builder.routineExternalName("test", "proc1", "test", "ajar",
                                    "com.foundationdb.procs.Proc1", "call");
    }

    private MemoryTableFactory getFactory(TableName name) {
        Table table = ais.getTable(name);
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.