@Test(expected=ParseException.class) public void testProcWithOutOfOrderReturn() throws Exception { String ddl = "create foreign procedure x (out param1 string, out param2 string result); "; buildModel("pm1", true, this.vdb, this.store,ddl); buildTransformationMetadata(); ValidatorReport report = new MetadataValidator().validate(vdb, store); assertTrue(printError(report), report.hasItems()); }
public ValidatorReport validate(VDBMetaData vdb, MetadataStore store) { ValidatorReport report = new ValidatorReport(); if (store != null && !store.getSchemaList().isEmpty()) { new SourceModelArtifacts().execute(vdb, store, report, this); new CrossSchemaResolver().execute(vdb, store, report, this); new ResolveQueryPlans().execute(vdb, store, report, this); new MinimalMetadata().execute(vdb, store, report, this); new MatViewPropertiesValidator().execute(vdb, store, report, this); new RoleValidator().execute(vdb, store, report, this); } return report; }
MetadataValidator { public ValidatorReport validate(VDBMetaData vdb, MetadataStore store) { ValidatorReport report = new ValidatorReport(); if (store != null && !store.getSchemaList().isEmpty()) { new SourceModelArtifacts().execute(vdb, store, report, this); new CrossSchemaResolver().execute(vdb, store, report, this); new ResolveQueryPlans().execute(vdb, store, report, this); new MinimalMetadata().execute(vdb, store, report, this); new MatViewPropertiesValidator().execute(vdb, store, report, this); new RoleValidator().execute(vdb, store, report, this); } return report; } }
MetadataValidator { public ValidatorReport validate(VDBMetaData vdb, MetadataStore store) { ValidatorReport report = new ValidatorReport(); if (store != null && !store.getSchemaList().isEmpty()) { new SourceModelArtifacts().execute(vdb, store, report, this); new CrossSchemaResolver().execute(vdb, store, report, this); new ResolveQueryPlans().execute(vdb, store, report, this); new MinimalMetadata().execute(vdb, store, report, this); new MatViewPropertiesValidator().execute(vdb, store, report, this); new RoleValidator().execute(vdb, store, report, this); } return report; } MetadataValidator(Map<String, Datatype> typeMap, QueryParser parser);  MetadataValidator(); }
MetadataValidator { public ValidatorReport validate(VDBMetaData vdb, MetadataStore store) { ValidatorReport report = new ValidatorReport(); if (store != null && !store.getSchemaList().isEmpty()) { new SourceModelArtifacts().execute(vdb, store, report, this); new CrossSchemaResolver().execute(vdb, store, report, this); new ResolveQueryPlans().execute(vdb, store, report, this); new MinimalMetadata().execute(vdb, store, report, this); new MatViewPropertiesValidator().execute(vdb, store, report, this); new RoleValidator().execute(vdb, store, report, this); } return report; } MetadataValidator(Map<String, Datatype> typeMap, QueryParser parser);  MetadataValidator(); ValidatorReport validate(VDBMetaData vdb, MetadataStore store); void log(ValidatorReport report, ModelMetaData model, String msg); void log(ValidatorReport report, ModelMetaData model, String msg, AbstractMetadataRecord object); void log(ValidatorReport report, ModelMetaData model, Severity severity, String msg, AbstractMetadataRecord object); void validate(VDBMetaData vdb, ModelMetaData model, AbstractMetadataRecord record, ValidatorReport report,
            QueryMetadataInterface metadata, MetadataFactory mf, QueryParser parser); static void determineDependencies(AbstractMetadataRecord p, Command command); }
MetadataValidator { public ValidatorReport validate(VDBMetaData vdb, MetadataStore store) { ValidatorReport report = new ValidatorReport(); if (store != null && !store.getSchemaList().isEmpty()) { new SourceModelArtifacts().execute(vdb, store, report, this); new CrossSchemaResolver().execute(vdb, store, report, this); new ResolveQueryPlans().execute(vdb, store, report, this); new MinimalMetadata().execute(vdb, store, report, this); new MatViewPropertiesValidator().execute(vdb, store, report, this); new RoleValidator().execute(vdb, store, report, this); } return report; } MetadataValidator(Map<String, Datatype> typeMap, QueryParser parser);  MetadataValidator(); ValidatorReport validate(VDBMetaData vdb, MetadataStore store); void log(ValidatorReport report, ModelMetaData model, String msg); void log(ValidatorReport report, ModelMetaData model, String msg, AbstractMetadataRecord object); void log(ValidatorReport report, ModelMetaData model, Severity severity, String msg, AbstractMetadataRecord object); void validate(VDBMetaData vdb, ModelMetaData model, AbstractMetadataRecord record, ValidatorReport report,
            QueryMetadataInterface metadata, MetadataFactory mf, QueryParser parser); static void determineDependencies(AbstractMetadataRecord p, Command command); static final String UNTYPED; }