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

info.archinnov.achilles.internals.cassandra_version.V3_8 Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2012-2021 DuyHai DOAN
 *
 * 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.
 */

package info.archinnov.achilles.internals.cassandra_version;

import static info.archinnov.achilles.internals.cassandra_version.CassandraFeature.*;

import java.util.Set;

import com.google.common.collect.ImmutableSet;

import info.archinnov.achilles.internals.codegen.function.FunctionParameterTypesCodeGen;

public class V3_8 extends V3_7 {

    private final Set SUPPORTED_FEATURES = ImmutableSet.of(UDT, UDF_UDA, JSON, MATERIALIZED_VIEW, SASI_INDEX, LITERAL_VALUES_IN_FUNCTION_CALL);

    public static V3_8 INSTANCE = new V3_8();

    protected V3_8() {
    }

    @Override
    public String version() {
        return "3.8";
    }

    @Override
    public Set getFeatures() {
        return SUPPORTED_FEATURES;
    }

    @Override
    public FunctionParameterTypesCodeGen functionParameterTypesCodeGen() {
        return FUNCTION_PARAMETER_TYPES_CODE_GEN_3_8;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy