Examples of IndexInfo


Examples of org.neo4j.rest.graphdb.index.IndexInfo

        getRestRequest().with(entity.getUri()).delete( "" );
        entityCache.remove(entity.getId());
    }
    @Override
    public IndexInfo indexInfo(final String indexType) {
        IndexInfo indexInfo = indexInfos.get(indexType);
        if (indexInfo != null && !indexInfo.isExpired()) {
//            return indexInfo;
        }
        RequestResult response = restRequest.get("index/" + encode(indexType));
        indexInfo = new RetrievedIndexInfo(response);
        indexInfos.put(indexType,indexInfo);
View Full Code Here

Examples of org.pomizer.model.IndexInfo

public class IndexUtils {
   
    public static IndexInfo loadIndeces(final String indexFileName) {

        JavaUtils.printToConsole("Loading indeces...");
        IndexInfo indeces = null;
        BufferedReader bufferedReader = null;
        try {

            bufferedReader = new BufferedReader(new FileReader(indexFileName));

            indeces = new IndexInfo(bufferedReader.readLine(), Integer.parseInt(bufferedReader.readLine()),
                    Integer.parseInt(bufferedReader.readLine()), Integer.parseInt(bufferedReader.readLine()),
                    Integer.parseInt(bufferedReader.readLine()));

            loadBasePathsIndex(indeces, bufferedReader);
View Full Code Here

Examples of org.pomizer.model.IndexInfo

            Document configurationXmlDocument = XmlUtils.loadXmlDocumentWithValidation(configurationFileName,
                    "deployer.rng");
           
            DeployerSettings globalSettings = new DeployerSettings();
            List<DeployerProject> projects = new ArrayList<DeployerProject>();
            IndexInfo indeces = null;
            List<String> postProcessCallUrls = new ArrayList<String>();
            List<DeployerCommandInfo> postProcessCallCommands = new ArrayList<DeployerCommandInfo>();
           
            Map<String, Map<String, String>> jarsToDeploy =
                    new HashMap<String, Map<String, String>>();
View Full Code Here

Examples of org.pomizer.model.IndexInfo

            }
        }
    }

    private static IndexInfo loadIndex(final Document configurationXmlDocument, List<DeployerProject> projects) {
        IndexInfo indeces = null;
        boolean loadIndex = false;
        for (int i = 0; !loadIndex && (i < projects.size()); i++) {
            loadIndex = projects.get(i).settings.useIndex;
        }
       
View Full Code Here

Examples of org.pomizer.model.IndexInfo

        final String pomFileName = FilenameUtils.concat(projectDirectory, "pom.xml");
        final String projectName = new File(projectDirectory).getName();
        final List<Dependency> dependencies = new ArrayList<Dependency>();

        IndexInfo indeces = IndexUtils.loadIndeces(indexFileName);

        File pomFile = new File(pomFileName);
        if (!pomFile.exists()) {
            JavaUtils.printToConsole("Saving POM stub...");
            MavenUtils.savePomFile(dependencies, projectName, pomFileName, relativeSourcesPath);
View Full Code Here

Examples of org.springframework.data.mongodb.core.index.IndexInfo

          boolean unique = ix.containsField("unique") ? (Boolean) ix.get("unique") : false;
          boolean dropDuplicates = ix.containsField("dropDups") ? (Boolean) ix.get("dropDups") : false;
          boolean sparse = ix.containsField("sparse") ? (Boolean) ix.get("sparse") : false;
          String language = ix.containsField("default_language") ? (String) ix.get("default_language") : "";
          indexInfoList.add(new IndexInfo(indexFields, name, unique, dropDuplicates, sparse, language));
        }

        return indexInfoList;
      }
    });
View Full Code Here

Examples of org.springframework.data.neo4j.mapping.IndexInfo

        return myAssociation;
    }

    private IndexInfo extractIndexInfo() {
        final Indexed annotation = getAnnotation(Indexed.class);
        return annotation!=null ? new IndexInfo(annotation,this) : null;
    }
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.