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

com.alipay.rdf.file.meta.SummaryPairMeta Maven / Gradle / Ivy

There is a newer version: 2.2.11
Show newest version
package com.alipay.rdf.file.meta;

import com.alipay.rdf.file.model.FileDataTypeEnum;
import com.alipay.rdf.file.spi.RdfFileRowConditionSpi;

/**
 * Copyright (C) 2013-2018 Ant Financial Services Group
 * 
 * 汇总字段元数据
 * 
 * @author hongwei.quhw
 * @version $Id: SummaryPairMeta.java, v 0.1 2017年8月14日 上午11:29:48 hongwei.quhw Exp $
 */
public class SummaryPairMeta {

    private final String           summaryKey;

    private final String           columnKey;

    private final FileColumnMeta   columnMeta;

    private final FileDataTypeEnum summaryDataType;

    private RdfFileRowConditionSpi rowCondition;

    public SummaryPairMeta(String summaryKey, String columnKey, FileColumnMeta columnMeta,
                           FileDataTypeEnum summaryDataType) {
        super();
        this.summaryKey = summaryKey;
        this.columnKey = columnKey;
        this.columnMeta = columnMeta;
        this.summaryDataType = summaryDataType;
    }

    public String getSummaryKey() {
        return summaryKey;
    }

    public String getColumnKey() {
        return columnKey;
    }

    public FileColumnMeta getColumnMeta() {
        return columnMeta;
    }

    public FileDataTypeEnum getSummaryDataType() {
        return summaryDataType;
    }

    public RdfFileRowConditionSpi getRowCondition() {
        return rowCondition;
    }

    public void setRowCondition(RdfFileRowConditionSpi rowCondition) {
        this.rowCondition = rowCondition;
    }

    @Override
    public String toString() {
        return "SummaryPairMeta=[summaryKey=" + summaryKey + ", columnKey=" + columnKey
               + ", summaryDataType=" + summaryDataType.name() + "]";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy