Examples of drop()


Examples of org.jpox.store.rdbms.table.ProbeTable.drop()

                                schemaName = schema_details[1];
                            }
                        }
                        finally
                        {
                            pt.drop(conn);
                        }
                    }
                }
            }
            catch (SQLException e)
View Full Code Here

Examples of org.neo4j.graphdb.schema.ConstraintDefinition.drop()

        if (propertyMethodMetadata != null && constraint == null) {
            LOGGER.info("Creating constraint for label {} on property '{}'.", label, propertyMetadata.getName());
            graphDatabaseService.schema().constraintFor(label).assertPropertyIsUnique(propertyMetadata.getName()).create();
        } else if (propertyMethodMetadata == null && constraint != null) {
            LOGGER.info("Dropping constraint for label {} on properties '{}'.", label, constraint.getPropertyKeys());
            constraint.drop();
        }
    }

    private IndexDefinition findIndex(Label label, String propertyName) {
        final Iterable<IndexDefinition> indexes = graphDatabaseService.schema().getIndexes(label);
View Full Code Here

Examples of org.neo4j.graphdb.schema.IndexDefinition.drop()

        if (propertyMethodMetadata != null && index == null) {
            LOGGER.info("Creating index for label {} on property '{}'.", label, primitivePropertyMetadata.getName());
            graphDatabaseService.schema().indexFor(label).on(primitivePropertyMetadata.getName()).create();
        } else if (propertyMethodMetadata == null && index != null) {
            LOGGER.info("Dropping index for label {} on properties '{}'.", label, index.getPropertyKeys());
            index.drop();
        }
    }

    private IndexDefinition findIndex(GraphDatabaseService graphDatabaseService, Label label, PrimitivePropertyMetadata primitivePropertyMetadata) {
        for (IndexDefinition indexDefinition : graphDatabaseService.schema().getIndexes(label)) {
View Full Code Here

Examples of org.openrdf.sail.rdbms.schema.TripleTable.drop()

    while (iter.hasNext()) {
      Entry<Number, TripleTable> next = iter.next();
      TripleTable table = next.getValue();
      if (table.isEmpty()) {
        predicates.remove(next.getKey());
        table.drop();
        iter.remove();
      }
      table.close();
    }
  }
View Full Code Here

Examples of org.rhq.cassandra.schema.SchemaManager.drop()

        try {
            storageNodeSchemaManager = createStorageNodeSchemaManager(serverProperties);
            if (ExistingSchemaOption.SKIP != existingSchemaOptionEnum) {
                if (ExistingSchemaOption.OVERWRITE == existingSchemaOptionEnum) {
                    log("Storage cluster schema exists but the installer was told to overwrite it - dropping existing schema...");
                    storageNodeSchemaManager.drop();
                }

                final String dbPassword = clearTextDbPassword;
                final String dbUrl = serverProperties.get(ServerProperties.PROP_DATABASE_CONNECTION_URL);
                final String dbUsername = serverProperties.get(ServerProperties.PROP_DATABASE_USERNAME);
View Full Code Here

Examples of org.sikuli.api.robot.Mouse.drop()

   
    imageURL = Images.GoogleMicrophoneIcon;               
    imageTarget = new ImageTarget(imageURL);
   
    r = s.wait(imageTarget,1000);
    mouse.drop(r.getCenter());
   
   
    ScreenLocation c = mouse.getLocation();   
    mouse.drag(c);
    mouse.drop(Relative.to(c).left(200).above(50).getScreenLocation());
View Full Code Here

Examples of org.sikuli.api.robot.desktop.DesktopMouse.drop()

   
    imageURL = Images.GoogleMicrophoneIcon;               
    imageTarget = new ImageTarget(imageURL);
   
    r = s.wait(imageTarget,1000);
    mouse.drop(r.getCenter());
   
   
    ScreenLocation c = mouse.getLocation();   
    mouse.drag(c);
    mouse.drop(Relative.to(c).left(200).above(50).getScreenLocation());
View Full Code Here

Examples of xbird.storage.index.BIndexFile.drop()

            Assert.assertEquals("#" + i, new Value(b), bfile.getValue(new Value(b)));
        }
        System.err.println(sw2);
        System.err.println("[BFileUniq] " + tmpFile.getAbsolutePath() + " - size: "
                + tmpFile.length());
        bfile.drop();
    }

}
View Full Code Here

Examples of xbird.storage.index.BTree.drop()

            Assert.assertEquals("#" + i, Primitives.getLong(b), btree.findValue(new Key(b)));
        }
        System.err.println(sw2);
        System.err.println("[BplusTreeUniq] " + tmpFile.getAbsolutePath() + " - size: "
                + tmpFile.length());
        btree.drop();
    }

    public void xtestExtHash_Large3001Buckets() throws IOException, DbException {
        File tmpFile = File.createTempFile("exthash", ".tmp");
        tmpFile.deleteOnExit();
View Full Code Here

Examples of xbird.storage.index.SortedStaticHash.drop()

        for(int i = REPEAT - 1; i >= 0; i -= 2) {
            byte[] b = list.get(i);
            Assert.assertEquals("#" + i, new Value(b), hash.findValue(new Key(b)));
        }
        System.err.println(sw2);
        hash.drop();
    }

    public void xtestExtHash_Large3001Buckets_2KPage() throws IOException, DbException {
        File tmpFile = File.createTempFile("exthash", ".tmp");
        tmpFile.deleteOnExit();
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.