@Test public void testInsertIntoVirtualWithQuery() throws Exception { QueryMetadataInterface metadata = RealMetadataFactory.example1Cached(); Command command = helpResolve("insert into vm1.g1 select 1, 2, true, 3", metadata); ValidatorReport report = Validator.validate(command, metadata); assertTrue(report.getItems().isEmpty()); }
public static final ValidatorReport validate(LanguageObject object, QueryMetadataInterface metadata) throws TeiidComponentException { ValidatorReport report1 = Validator.validate(object, metadata, new ValidationVisitor()); return report1; }
Validator { public static final ValidatorReport validate(LanguageObject object, QueryMetadataInterface metadata) throws TeiidComponentException { ValidatorReport report1 = Validator.validate(object, metadata, new ValidationVisitor()); return report1; } }
Validator { public static final ValidatorReport validate(LanguageObject object, QueryMetadataInterface metadata) throws TeiidComponentException { ValidatorReport report1 = Validator.validate(object, metadata, new ValidationVisitor()); return report1; }  }
Validator { public static final ValidatorReport validate(LanguageObject object, QueryMetadataInterface metadata) throws TeiidComponentException { ValidatorReport report1 = Validator.validate(object, metadata, new ValidationVisitor()); return report1; }  static final ValidatorReport validate(LanguageObject object, QueryMetadataInterface metadata); static final ValidatorReport validate(LanguageObject object, QueryMetadataInterface metadata, AbstractValidationVisitor visitor); }
Validator { public static final ValidatorReport validate(LanguageObject object, QueryMetadataInterface metadata) throws TeiidComponentException { ValidatorReport report1 = Validator.validate(object, metadata, new ValidationVisitor()); return report1; }  static final ValidatorReport validate(LanguageObject object, QueryMetadataInterface metadata); static final ValidatorReport validate(LanguageObject object, QueryMetadataInterface metadata, AbstractValidationVisitor visitor);  }