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

com.yahoo.elide.datastores.aggregation.dynamic.DynamicModelInstance Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2021, Yahoo Inc.
 * Licensed under the Apache License, Version 2.0
 * See LICENSE file in project root for terms.
 */
package com.yahoo.elide.datastores.aggregation.dynamic;

import com.yahoo.elide.core.type.Dynamic;
import com.yahoo.elide.core.type.ParameterizedModel;
import com.yahoo.elide.core.type.Type;

/**
 * Base model instance returned by AggregationStore for dynamic types.
 */
public class DynamicModelInstance extends ParameterizedModel implements Dynamic {
    private static final long serialVersionUID = -374837200186480683L;

    protected TableType tableType;

    public DynamicModelInstance(TableType type) {
        this.tableType = type;
    }

    @Override
    public Type getType() {
        return tableType;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy