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

io.konig.maven.BigQueryInfo Maven / Gradle / Ivy

Go to download

A library of common classes used across Maven Plugins offered by the Konig platform

The newest version!
package io.konig.maven;

/*
 * #%L
 * Konig Google Cloud Platform Deployment Model
 * %%
 * Copyright (C) 2015 - 2017 Gregory McFall
 * %%
 * 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.
 * #L%
 */


import java.io.File;

import io.konig.yaml.Yaml;

public class BigQueryInfo {
	

	@Parameter(property="konig.gcp.bigquery.directory", defaultValue="${konig.gcp.directory}/bigquery")
	private File directory;

	@Parameter(property="konig.gcp.bigquery.dataset", defaultValue="${konig.gcp.bigquery.directory}/dataset")
	private File dataset;

	@Parameter(property="konig.gcp.bigquery.schema", defaultValue="${konig.gcp.bigquery.directory}/schema")
	private File schema;
	
	@Parameter(property="konig.gcp.bigquery.view", defaultValue="${konig.gcp.bigquery.directory}/view")
	private File view;

	@Parameter(property="konig.gcp.bigquery.scripts", defaultValue="${konig.gcp.bigquery.directory}/scripts")
	private File scripts;

	@Parameter(property="konig.gcp.bigquery.data", defaultValue="${konig.gcp.bigquery.directory}/data")
	private File data;
	
	@Parameter(property="konig.gcp.bigquery.metadata", required=true)
	private MetadataInfo metadata;
	@Parameter(property="konig.gcp.bigquery.shapeIriPattern")
	private String shapeIriPattern;
	@Parameter(property="konig.gcp.bigquery.shapeIriReplacement")
	private String shapeIriReplacement;
	
	@Parameter(property="konig.gcp.bigquery.propertyNameSpace")
	private String propertyNameSpace;
	
	@Parameter(property="konig.gcp.bigquery.transformScope")
	private TransformProcessingScope transformScope;
	

	@Parameter(property="konig.gcp.bigquery.enumConfig", required=true)
	private BigQueryEnumGeneratorConfig enumConfig;
	
	
	public File getDirectory() {
		return directory;
	}
	public void setDirectory(File directory) {
		this.directory = directory;
	}
	public File getDataset() {
		return dataset;
	}
	public void setDataset(File datasets) {
		this.dataset = datasets;
	}
	public File getSchema() {
		return schema;
	}
	public void setSchema(File schema) {
		this.schema = schema;
	}
	public File getView() {
		return view;
	}
	public void setView(File view) {
		this.view = view;
	}
	public File getScripts() {
		return scripts;
	}
	public void setScripts(File scripts) {
		this.scripts = scripts;
	}
	public File getData() {
		return data;
	}
	public void setData(File data) {
		this.data = data;
	}
	public String toString() {
		return Yaml.toString(this);
	}
	public MetadataInfo getMetadata() {
		return metadata;
	}
	public void setMetadata(MetadataInfo metadata) {
		this.metadata = metadata;
	}
	public String getShapeIriPattern() {
		return shapeIriPattern;
	}
	public void setShapeIriPattern(String shapeIriPattern) {
		this.shapeIriPattern = shapeIriPattern;
	}
	public String getShapeIriReplacement() {
		return shapeIriReplacement;
	}
	public void setShapeIriReplacement(String shapeIriReplacement) {
		this.shapeIriReplacement = shapeIriReplacement;
	}
	
	public String getPropertyNameSpace() {
		return propertyNameSpace;
	}

	public void setPropertyNameSpace(String propertyNameSpace) {
		this.propertyNameSpace = propertyNameSpace;
	}
	public TransformProcessingScope getTransformScope() {
		return transformScope;
	}
	
	public void setTransformScope(TransformProcessingScope transformScope) {
		this.transformScope = transformScope;
	}
	public BigQueryEnumGeneratorConfig getEnumConfig() {
		return enumConfig;
	}
	public void setEnumConfig(BigQueryEnumGeneratorConfig enumConfig) {
		this.enumConfig = enumConfig;
	}
	
	

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy