Examples of TagToIndexTag


Examples of com.bazoud.elasticsearch.river.git.flow.functions.TagToIndexTag

        RevWalk walk = new RevWalk(context.getRepository());

        Visitors.visit(
            FluentIterable
                .from(context.getRepository().getTags().entrySet())
                .transform(new TagToIndexTag(context, walk)),
            new BulkVisitor(context, TAG.name().toLowerCase())
        );

        return context;
    }
View Full Code Here

Examples of com.bazoud.elasticsearch.river.git.guava.functions.TagToIndexTag

        try {
            final RevWalk walk = new RevWalk(context.getRepository());
            final BulkRequestBuilder bulk = context.getClient().prepareBulk();
            FluentIterable
                .from(context.getRepository().getTags().entrySet())
                .transform(new TagToIndexTag(context, walk))
                .transform(new Function<IndexTag, IndexTag>() {
                    @Override
                    public IndexTag apply(IndexTag tag) {
                        try {
                            bulk.add(indexRequest(context.getRiverName())
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.