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

com.arangodb.entity.InvertedIndexEntity Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
/*
 * DISCLAIMER
 *
 * Copyright 2016 ArangoDB GmbH, Cologne, Germany
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Copyright holder is ArangoDB GmbH, Cologne, Germany
 */

package com.arangodb.entity;

import com.arangodb.entity.arangosearch.AnalyzerFeature;
import com.arangodb.entity.arangosearch.ConsolidationPolicy;
import com.arangodb.entity.arangosearch.StoredValue;

import java.util.Collection;
import java.util.Set;

/**
 * @author Michele Rastelli
 * @see API Documentation
 * @since ArangoDB 3.10
 */
public final class InvertedIndexEntity {

    private String id;
    private Boolean isNewlyCreated;
    private Boolean unique;
    private Boolean sparse;
    private Long version;
    private Integer code;
    private IndexType type;
    private String name;
    private Collection fields;
    private Boolean searchField;
    private Collection storedValues;
    private Collection optimizeTopK;
    private InvertedIndexPrimarySort primarySort;
    private String analyzer;
    private Set features;
    private Boolean includeAllFields;
    private Boolean trackListPositions;
    private Long cleanupIntervalStep;
    private Long commitIntervalMsec;
    private Long consolidationIntervalMsec;
    private ConsolidationPolicy consolidationPolicy;
    private Long writebufferIdle;
    private Long writebufferActive;
    private Long writebufferSizeMax;
    private Boolean cache;
    private Boolean primaryKeyCache;

    public String getId() {
        return id;
    }

    public Boolean getIsNewlyCreated() {
        return isNewlyCreated;
    }

    public Boolean getUnique() {
        return unique;
    }

    public Boolean getSparse() {
        return sparse;
    }

    public Long getVersion() {
        return version;
    }

    public Integer getCode() {
        return code;
    }

    public IndexType getType() {
        return type;
    }

    public String getName() {
        return name;
    }

    public Collection getFields() {
        return fields;
    }

    public Boolean getSearchField() {
        return searchField;
    }

    public Collection getStoredValues() {
        return storedValues;
    }

    public Collection getOptimizeTopK() {
        return optimizeTopK;
    }

    public InvertedIndexPrimarySort getPrimarySort() {
        return primarySort;
    }

    public String getAnalyzer() {
        return analyzer;
    }

    public Set getFeatures() {
        return features;
    }

    public Boolean getIncludeAllFields() {
        return includeAllFields;
    }

    public Boolean getTrackListPositions() {
        return trackListPositions;
    }

    public Long getCleanupIntervalStep() {
        return cleanupIntervalStep;
    }

    public Long getCommitIntervalMsec() {
        return commitIntervalMsec;
    }

    public Long getConsolidationIntervalMsec() {
        return consolidationIntervalMsec;
    }

    public ConsolidationPolicy getConsolidationPolicy() {
        return consolidationPolicy;
    }

    public Long getWritebufferIdle() {
        return writebufferIdle;
    }

    public Long getWritebufferActive() {
        return writebufferActive;
    }

    public Long getWritebufferSizeMax() {
        return writebufferSizeMax;
    }

    public Boolean getCache() {
        return cache;
    }

    public Boolean getPrimaryKeyCache() {
        return primaryKeyCache;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy