Package com.foundationdb.server.api

Examples of com.foundationdb.server.api.DDLFunctions


        AkibanInformationSchema ais = new AkibanInformationSchema();
       
        StatementNode node = parser.parseStatement(sql);
        assertTrue(node instanceof DropSchemaNode);
       
        DDLFunctions ddlFunctions = new TableDDLTest.DDLFunctionsMock(ais);
       
        SchemaDDL.dropSchema(ddlFunctions, null, (DropSchemaNode)node, null);
    }
View Full Code Here


        AkibanInformationSchema ais = new AkibanInformationSchema();
       
        StatementNode stmt = parser.parseStatement(sql);
        assertTrue (stmt instanceof DropSchemaNode);
       
        DDLFunctions ddlFunctions = new TableDDLTest.DDLFunctionsMock(ais);
       
        SchemaDDL.dropSchema(ddlFunctions, null, (DropSchemaNode)stmt, null);
    }
View Full Code Here

       
        assertNotNull(ais.getTable("s", "t"));
       
        StatementNode stmt = parser.parseStatement(sql);
        assertTrue (stmt instanceof DropSchemaNode);
        DDLFunctions ddlFunctions = new TableDDLTest.DDLFunctionsMock(ais);
       
        SchemaDDL.dropSchema(ddlFunctions, null, (DropSchemaNode)stmt, null);
    }
View Full Code Here

        buildRowDefs(ais);
        return ais;
    }

    public AkibanInformationSchema ais(String... ddl) {
        DDLFunctions ddlFunctions = new CreateOnlyDDLMock();
        Session session = null;
        ddl(ddlFunctions, session, ddl);
        return ddlFunctions.getAIS(session);
    }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.api.DDLFunctions

Copyright © 2018 www.massapicom. 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.