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

org.frameworkset.elasticsearch.client.schedule.ImportIncreamentConfig Maven / Gradle / Ivy

package org.frameworkset.elasticsearch.client.schedule;
/**
 * Copyright 2008 biaoping.yin
 * 

* 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. */ /** *

Description: 定时增量采集数据元数据配置

*

*

Copyright (c) 2018

* @Date 2018/9/8 17:07 * @author biaoping.yin * @version 1.0 */ public class ImportIncreamentConfig { private String dateLastValueColumn; private String numberLastValueColumn; public static final int NUMBER_TYPE = 0; public static final int TIMESTAMP_TYPE = 1; /** * 设置起始值,如果lastValueType为 */ private Long lastValue; /** * 设置其实值类型:0 数字 1 日期 */ private Integer lastValueType; private String lastValueStorePath; private String lastValueStoreTableName; private boolean fromFirst;//true 每次都重新从开始导入数据 public String getDateLastValueColumn() { return dateLastValueColumn; } public void setDateLastValueColumn(String dateLastValueColumn) { this.dateLastValueColumn = dateLastValueColumn; } public String getNumberLastValueColumn() { return numberLastValueColumn; } public void setNumberLastValueColumn(String numberLastValueColumn) { this.numberLastValueColumn = numberLastValueColumn; } public String getLastValueStorePath() { return lastValueStorePath; } public void setLastValueStorePath(String lastValueStorePath) { this.lastValueStorePath = lastValueStorePath; } public String getLastValueStoreTableName() { return lastValueStoreTableName; } public void setLastValueStoreTableName(String lastValueStoreTableName) { this.lastValueStoreTableName = lastValueStoreTableName; } public boolean isFromFirst() { return fromFirst; } public void setFromFirst(boolean fromFirst) { this.fromFirst = fromFirst; } public Long getLastValue() { return lastValue; } public void setLastValue(Long lastValue) { this.lastValue = lastValue; } public Integer getLastValueType() { return lastValueType; } public void setLastValueType(Integer lastValueType) { this.lastValueType = lastValueType; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy