Codota Logo
Schema
Code IndexAdd Codota to your IDE (free)

How to use
Schema
in
com.gs.obevo.api.appdata

Best Java code snippets using com.gs.obevo.api.appdata.Schema (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: com.goldmansachs.obevo/obevo-core

  @Override
  public String valueOf(Schema schema) {
    return schema.getName();
  }
}), schemaObjs).toImmutable());
origin: com.goldmansachs.obevo/obevo-db

  @Override
  public Predicate<? super ChecksumEntry> valueOf(Schema schema) {
    return schema.getObjectExclusionPredicateBuilder().build(ChecksumEntry.TO_OBJECT_TYPE, ChecksumEntry.TO_NAME1);
  }
});
origin: com.goldmansachs.obevo/obevo-core

  @Override
  public boolean accept(Schema schema) {
    return schema.isReadOnly();
  }
});
origin: goldmansachs/obevo

return new Schema(schemaName, systemDbPlatform.getObjectExclusionPredicateBuilder().add(excludedNameMap.toImmutable()), readOnly);
origin: goldmansachs/obevo

expectedExclusions.putAll(ChangeType.VIEW_STR, Lists.immutable.with("view1Pat", "view2%Pat"));
expectedExclusions.putAll(ChangeType.SP_STR, Lists.immutable.with("sp1", "sp2", "sp3", "sp4"));
assertEquals(expectedExclusions, schema1.getObjectExclusionPredicateBuilder().getObjectNamesByType());
    return it.getName().equals("SCHEMA4_RO");
}).isReadOnly());
assertFalse(env2.getAllSchemas().detect(new Predicate<Schema>() {
  @Override
    return it.getName().equals("SCHEMA3");
}).isReadOnly());
assertTrue(env3.getAllSchemas().detect(new Predicate<Schema>() {
  @Override
    return it.getName().equals("SCHEMA4_RO");
}).isReadOnly());
assertFalse(env3.getAllSchemas().detect(new Predicate<Schema>() {
  @Override
    return it.getName().equals("SCHEMA3");
}).isReadOnly());
origin: com.goldmansachs.obevo/obevo-core

return new Schema(schemaName, systemDbPlatform.getObjectExclusionPredicateBuilder().add(excludedNameMap.toImmutable()), readOnly);
origin: com.goldmansachs.obevo/obevo-db-db2

@Before
public void setup() {
  this.env = new DbEnvironment();
  this.env.setSchemas(Sets.immutable.with(new Schema(physicalSchema.getPhysicalName())));
  this.sqlExecutor = new Db2SqlExecutor(dataSource, env);
  this.metricsCollector = new DeployMetricsCollectorImpl();
  this.db2PostDeployAction = new Db2PostDeployAction(sqlExecutor, metricsCollector);
}
origin: com.goldmansachs.obevo/obevo-core

  @Override
  public String valueOf(Schema schema1) {
    return schema1.getName();
  }
}).contains(schema),
origin: goldmansachs/obevo

  @Override
  public Predicate<? super ChecksumEntry> valueOf(Schema schema) {
    return schema.getObjectExclusionPredicateBuilder().build(ChecksumEntry.TO_OBJECT_TYPE, ChecksumEntry.TO_NAME1);
  }
});
origin: goldmansachs/obevo

  @Override
  public boolean accept(Schema schema) {
    return schema.isReadOnly();
  }
});
origin: goldmansachs/obevo

private void setupExecutor(boolean autoReorg) {
  this.db2JdbcTemplate = new JdbcHelper();
  this.environment = new DbEnvironment();
  this.environment.setSchemas(Sets.immutable.with(new Schema(physicalSchema.getPhysicalName())));
  this.environment.setAutoReorgEnabled(autoReorg);
  this.executor = new Db2SqlExecutor(db2DataSource, this.environment);
  executorJdbc = this.executor.getJdbcTemplate();
}
origin: goldmansachs/obevo

  @Override
  public String valueOf(Schema schema1) {
    return schema1.getName();
  }
}).contains(schema),
origin: com.goldmansachs.obevo/obevo-db

  @Override
  public RichIterable<DbCleanCommand> valueOf(PhysicalSchema physicalSchema) {
    ImmutableList<DbCleanCommand> schemaDrops = getDropStatements(physicalSchema);
    MutableCollection<Schema> schemas = physicalSchemaToSchemaMap.get(physicalSchema);
    for (Schema schema : schemas) {
      schemaDrops = schemaDrops.select(schema.getObjectExclusionPredicateBuilder().build(new Function<DbCleanCommand, String>() {
        @Override
        public String valueOf(DbCleanCommand it) {
          return it.getObjectType().getName();
        }
      }, DbCleanCommand.TO_OBJECT_NAME));
    }
    return schemaDrops;
  }
}).toList());
origin: goldmansachs/obevo

  env.setDriverClassName(args.getDriverClass());
Schema schema = new Schema(args.getDbSchema());
env.setSchemas(Sets.immutable.with(schema));
origin: goldmansachs/obevo

  @Override
  public String valueOf(Schema schema1) {
    return schema1.getName();
  }
}).toSet().toImmutable();
origin: goldmansachs/obevo

  @Override
  public RichIterable<DbCleanCommand> valueOf(PhysicalSchema physicalSchema) {
    ImmutableList<DbCleanCommand> schemaDrops = getDropStatements(physicalSchema);
    MutableCollection<Schema> schemas = physicalSchemaToSchemaMap.get(physicalSchema);
    for (Schema schema : schemas) {
      schemaDrops = schemaDrops.select(schema.getObjectExclusionPredicateBuilder().build(new Function<DbCleanCommand, String>() {
        @Override
        public String valueOf(DbCleanCommand it) {
          return it.getObjectType().getName();
        }
      }, DbCleanCommand.TO_OBJECT_NAME));
    }
    return schemaDrops;
  }
}).toList());
origin: com.goldmansachs.obevo/obevo-db

  env.setDriverClassName(args.getDriverClass());
Schema schema = new Schema(args.getDbSchema());
env.setSchemas(Sets.immutable.with(schema));
origin: com.goldmansachs.obevo/obevo-core

  @Override
  public String valueOf(Schema schema1) {
    return schema1.getName();
  }
}).toSet().toImmutable();
origin: goldmansachs/obevo

assertTrue(schema.getObjectExclusionPredicateBuilder().getObjectNamesByType().isEmpty());
assertEquals("DEPLOY_TRACKER", env1.getPhysicalSchema("DEPLOY_TRACKER").getPhysicalName());
origin: goldmansachs/obevo

@Before
public void setup() {
  this.env = new DbEnvironment();
  this.env.setSchemas(Sets.immutable.with(new Schema(physicalSchema.getPhysicalName())));
  this.sqlExecutor = new Db2SqlExecutor(dataSource, env);
  this.metricsCollector = new DeployMetricsCollectorImpl();
  this.db2PostDeployAction = new Db2PostDeployAction(sqlExecutor, metricsCollector);
}
com.gs.obevo.api.appdataSchema

Most used methods

  • <init>
  • getName
  • getObjectExclusionPredicateBuilder
  • isReadOnly

Popular in Java

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • startActivity (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • String (java.lang)
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now