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

io.confluent.connect.cdc.Constants Maven / Gradle / Ivy

There is a newer version: 0.0.1.9
Show newest version
/**
 * Copyright © 2017 Jeremy Custenborder ([email protected])
 *
 * 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.confluent.connect.cdc;

class Constants {
  public static final String METADATA_FIELD = "_cdc_metadata";
  public static final String DATABASE_NAME_VARIABLE = "databaseName";
  public static final String SCHEMA_NAME_VARIABLE = "schemaName";
  public static final String TABLE_NAME_VARIABLE = "tableName";
  public static final String NAMESPACE_VARIABLE = "namespace";

  public static final String DATABASE_NAME_TEMPLATE_VARIABLE = "${databaseName}";
  public static final String SCHEMA_NAME_TEMPLATE_VARIABLE = "${schemaName}";
  public static final String TABLE_NAME_TEMPLATE_VARIABLE = "${tableName}";
  public static final String NAMESPACE_TEMPLATE_VARIABLE = "${namespace}";

  public static final String[] TEMPLATE_VARIABLES = new String[]{
      DATABASE_NAME_TEMPLATE_VARIABLE,
      SCHEMA_NAME_TEMPLATE_VARIABLE,
      TABLE_NAME_TEMPLATE_VARIABLE,
      NAMESPACE_TEMPLATE_VARIABLE
  };
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy