All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tvd12.ezydata.elasticsearch.util.EzyDataIndexAnnotations Maven / Gradle / Ivy

package com.tvd12.ezydata.elasticsearch.util;

import com.tvd12.ezydata.elasticsearch.annotation.EzyDataIndex;
import com.tvd12.ezyfox.collect.Sets;

import java.util.Set;

public final class EzyDataIndexAnnotations {

    private EzyDataIndexAnnotations() {}

    public static String getIndex(EzyDataIndex anno) {
        return anno.value();
    }

    public static Set getIndexes(EzyDataIndex anno) {
        return Sets.newHashSet(getIndex(anno));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy