io.cdap.plugin.gcp.spanner.SpannerConstants Maven / Gradle / Ivy
/*
* Copyright © 2018 Cask Data, Inc.
*
* 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 io.cdap.plugin.gcp.spanner;
/**
* Spanner constants
*/
public final class SpannerConstants {
public static final String PROJECT_ID = "project.id";
public static final String INSTANCE_ID = "instance.id";
public static final String DATABASE = "database.name";
public static final String SERVICE_ACCOUNT_TYPE = "service.account.type";
public static final String SERVICE_ACCOUNT_TYPE_FILE_PATH = "serviceFilePath";
public static final String SERVICE_ACCOUNT_TYPE_JSON = "serviceJson";
public static final String SERVICE_ACCOUNT = "service.account.path";
public static final String PARTITIONS_LIST = "partitions.list";
public static final String QUERY = "query";
public static final String SPANNER_BATCH_TRANSACTION_ID = "spanner.batch.transaction.id";
public static final String TABLE_NAME = "table";
public static final String SPANNER_WRITE_BATCH_SIZE = "spanner.write.batch.size";
public static final String SCHEMA = "schema";
public static final String IS_PREVIEW_ENABLED = "is.preview.enabled";
public static final String CMEK_KEY = "cmek.key";
public static final String KEYS = "keys";
public static final String SPANNER_FQN_PREFIX = "spanner";
}