Tabnine Logo
HiveSerDeWrapper.get
Code IndexAdd Tabnine to your IDE (free)

How to use
get
method
in
org.apache.gobblin.hive.HiveSerDeWrapper

Best Java code snippets using org.apache.gobblin.hive.HiveSerDeWrapper.get (Showing top 6 results out of 315)

origin: apache/incubator-gobblin

/**
 * Get an instance of {@link HiveSerDeWrapper}.
 *
 * @param serDeType The SerDe type. This should be one of the available {@link HiveSerDeWrapper.BuiltInHiveSerDe}s.
 */
public static HiveSerDeWrapper get(String serDeType) {
 return get(serDeType, Optional.<String> absent(), Optional.<String> absent());
}
origin: apache/incubator-gobblin

/**
 * Get an instance of {@link HiveSerDeWrapper} from a {@link State}.
 *
 * @param state The state should contain property {@link #SERDE_SERIALIZER_TYPE}, and optionally contain properties
 * {@link #SERDE_SERIALIZER_INPUT_FORMAT_TYPE}, {@link #SERDE_SERIALIZER_OUTPUT_FORMAT_TYPE} and
 */
public static HiveSerDeWrapper getSerializer(State state) {
 Preconditions.checkArgument(state.contains(SERDE_SERIALIZER_TYPE),
   "Missing required property " + SERDE_SERIALIZER_TYPE);
 return get(state.getProp(SERDE_SERIALIZER_TYPE),
   Optional.fromNullable(state.getProp(SERDE_SERIALIZER_INPUT_FORMAT_TYPE)),
   Optional.fromNullable(state.getProp(SERDE_SERIALIZER_OUTPUT_FORMAT_TYPE)));
}
origin: apache/incubator-gobblin

 /**
  * Get an instance of {@link HiveSerDeWrapper} from a {@link State}.
  *
  * @param state The state should contain property {@link #SERDE_DESERIALIZER_TYPE}, and optionally contain properties
  * {@link #SERDE_DESERIALIZER_INPUT_FORMAT_TYPE}, {@link #SERDE_DESERIALIZER_OUTPUT_FORMAT_TYPE} and
  */
 public static HiveSerDeWrapper getDeserializer(State state) {
  Preconditions.checkArgument(state.contains(SERDE_DESERIALIZER_TYPE),
    "Missing required property " + SERDE_DESERIALIZER_TYPE);
  return get(state.getProp(SERDE_DESERIALIZER_TYPE),
    Optional.fromNullable(state.getProp(SERDE_DESERIALIZER_INPUT_FORMAT_TYPE)),
    Optional.fromNullable(state.getProp(SERDE_DESERIALIZER_OUTPUT_FORMAT_TYPE)));
 }
}
origin: org.apache.gobblin/gobblin-hive-registration

/**
 * Get an instance of {@link HiveSerDeWrapper}.
 *
 * @param serDeType The SerDe type. This should be one of the available {@link HiveSerDeWrapper.BuiltInHiveSerDe}s.
 */
public static HiveSerDeWrapper get(String serDeType) {
 return get(serDeType, Optional.<String> absent(), Optional.<String> absent());
}
origin: org.apache.gobblin/gobblin-hive-registration

/**
 * Get an instance of {@link HiveSerDeWrapper} from a {@link State}.
 *
 * @param state The state should contain property {@link #SERDE_SERIALIZER_TYPE}, and optionally contain properties
 * {@link #SERDE_SERIALIZER_INPUT_FORMAT_TYPE}, {@link #SERDE_SERIALIZER_OUTPUT_FORMAT_TYPE} and
 */
public static HiveSerDeWrapper getSerializer(State state) {
 Preconditions.checkArgument(state.contains(SERDE_SERIALIZER_TYPE),
   "Missing required property " + SERDE_SERIALIZER_TYPE);
 return get(state.getProp(SERDE_SERIALIZER_TYPE),
   Optional.fromNullable(state.getProp(SERDE_SERIALIZER_INPUT_FORMAT_TYPE)),
   Optional.fromNullable(state.getProp(SERDE_SERIALIZER_OUTPUT_FORMAT_TYPE)));
}
origin: org.apache.gobblin/gobblin-hive-registration

 /**
  * Get an instance of {@link HiveSerDeWrapper} from a {@link State}.
  *
  * @param state The state should contain property {@link #SERDE_DESERIALIZER_TYPE}, and optionally contain properties
  * {@link #SERDE_DESERIALIZER_INPUT_FORMAT_TYPE}, {@link #SERDE_DESERIALIZER_OUTPUT_FORMAT_TYPE} and
  */
 public static HiveSerDeWrapper getDeserializer(State state) {
  Preconditions.checkArgument(state.contains(SERDE_DESERIALIZER_TYPE),
    "Missing required property " + SERDE_DESERIALIZER_TYPE);
  return get(state.getProp(SERDE_DESERIALIZER_TYPE),
    Optional.fromNullable(state.getProp(SERDE_DESERIALIZER_INPUT_FORMAT_TYPE)),
    Optional.fromNullable(state.getProp(SERDE_DESERIALIZER_OUTPUT_FORMAT_TYPE)));
 }
}
org.apache.gobblin.hiveHiveSerDeWrapperget

Javadoc

Get an instance of HiveSerDeWrapper.

Popular methods of HiveSerDeWrapper

  • getInputFormatClassName
    Get the input format class name associated with this HiveSerDeWrapper.
  • getOutputFormatClassName
    Get the output format class name associated with this HiveSerDeWrapper.
  • getSerDe
    Get the SerDe instance associated with this HiveSerDeWrapper. This method performs lazy initializati
  • <init>
  • getDeserializer
    Get an instance of HiveSerDeWrapper from a State.
  • getSerializer
    Get an instance of HiveSerDeWrapper from a State.

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • startActivity (Activity)
  • Kernel (java.awt.image)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ImageIO (javax.imageio)
  • Option (scala)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now