Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save LusciousPear/0a871885817a5062b44b11952d45809d to your computer and use it in GitHub Desktop.
Save LusciousPear/0a871885817a5062b44b11952d45809d to your computer and use it in GitHub Desktop.
package com.acacia.sdk;
import com.acacia.angleddream.common.Tags;
import com.google.cloud.dataflow.sdk.transforms.DoFn;
import com.google.cloud.dataflow.sdk.values.TupleTag;
import com.google.gson.Gson;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.HashMap;
import java.util.Map;
public abstract class AbstractTransform {
//function to transform a string, used by processElement
public String transform(String input) throws GenericDataflowAppException {return input;}
public String transform(String input, Map<String,String> args) throws GenericDataflowAppException {return input;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment