Package com.codetroopers.play.elasticsearch.annotations

Examples of com.codetroopers.play.elasticsearch.annotations.IndexMapping


        }
        return indexTypeAnnotation.name();
    }

    private static String getIndexMapping(Object instance) {
        IndexMapping indexMapping = instance.getClass().getAnnotation(IndexMapping.class);
        if (indexMapping == null) {
            return null;
        }
        return indexMapping.value();
    }
View Full Code Here

TOP

Related Classes of com.codetroopers.play.elasticsearch.annotations.IndexMapping

Copyright © 2018 www.massapicom. 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.