Package info.archinnov.achilles.annotations

Examples of info.archinnov.achilles.annotations.Index


    private CodecFactory codecFactory = CodecFactory.Singleton.INSTANCE.get();

    public static String getIndexName(Field field) {
        log.debug("Check @Index annotation on field {} of class {}", field.getName(), field.getDeclaringClass().getCanonicalName());
        String indexName = null;
        Index index = field.getAnnotation(Index.class);
        if (index != null) {
            indexName = index.name();
        }
        return indexName;
    }
View Full Code Here

TOP

Related Classes of info.archinnov.achilles.annotations.Index

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.