Tabnine Logo
LazyDioLong
Code IndexAdd Tabnine to your IDE (free)

How to use
LazyDioLong
in
org.apache.hadoop.hive.serde2.lazydio

Best Java code snippets using org.apache.hadoop.hive.serde2.lazydio.LazyDioLong (Showing top 5 results out of 315)

origin: apache/hive

public static LazyPrimitive<? extends ObjectInspector, ? extends Writable>
createLazyPrimitiveBinaryClass(PrimitiveObjectInspector poi) {
 PrimitiveCategory pc = poi.getPrimitiveCategory();
 switch (pc) {
 case BOOLEAN:
  return new LazyDioBoolean((LazyBooleanObjectInspector) poi);
 case BYTE:
  return new LazyDioByte((LazyByteObjectInspector) poi);
 case SHORT:
  return new LazyDioShort((LazyShortObjectInspector) poi);
 case INT:
  return new LazyDioInteger((LazyIntObjectInspector) poi);
 case LONG:
  return new LazyDioLong((LazyLongObjectInspector) poi);
 case FLOAT:
  return new LazyDioFloat((LazyFloatObjectInspector) poi);
 case DOUBLE:
  return new LazyDioDouble((LazyDoubleObjectInspector) poi);
 case BINARY:
  return new LazyDioBinary((LazyBinaryObjectInspector) poi);
 case DECIMAL:
  return new LazyDioHiveDecimal((LazyHiveDecimalObjectInspector) poi);
 default:
  throw new RuntimeException("Hive Internal Error: no LazyObject for " + poi);
 }
}
origin: com.github.hyukjinkwon/hive-serde

public static LazyPrimitive<? extends ObjectInspector, ? extends Writable>
createLazyPrimitiveBinaryClass(PrimitiveObjectInspector poi) {
 PrimitiveCategory pc = poi.getPrimitiveCategory();
 switch (pc) {
 case BOOLEAN:
  return new LazyDioBoolean((LazyBooleanObjectInspector) poi);
 case BYTE:
  return new LazyDioByte((LazyByteObjectInspector) poi);
 case SHORT:
  return new LazyDioShort((LazyShortObjectInspector) poi);
 case INT:
  return new LazyDioInteger((LazyIntObjectInspector) poi);
 case LONG:
  return new LazyDioLong((LazyLongObjectInspector) poi);
 case FLOAT:
  return new LazyDioFloat((LazyFloatObjectInspector) poi);
 case DOUBLE:
  return new LazyDioDouble((LazyDoubleObjectInspector) poi);
 default:
  throw new RuntimeException("Hive Internal Error: no LazyObject for " + poi);
 }
}
origin: com.facebook.presto.hive/hive-apache

public static LazyPrimitive<? extends ObjectInspector, ? extends Writable>
createLazyPrimitiveBinaryClass(PrimitiveObjectInspector poi) {
 PrimitiveCategory pc = poi.getPrimitiveCategory();
 switch (pc) {
 case BOOLEAN:
  return new LazyDioBoolean((LazyBooleanObjectInspector) poi);
 case BYTE:
  return new LazyDioByte((LazyByteObjectInspector) poi);
 case SHORT:
  return new LazyDioShort((LazyShortObjectInspector) poi);
 case INT:
  return new LazyDioInteger((LazyIntObjectInspector) poi);
 case LONG:
  return new LazyDioLong((LazyLongObjectInspector) poi);
 case FLOAT:
  return new LazyDioFloat((LazyFloatObjectInspector) poi);
 case DOUBLE:
  return new LazyDioDouble((LazyDoubleObjectInspector) poi);
 default:
  throw new RuntimeException("Hive Internal Error: no LazyObject for " + poi);
 }
}
origin: org.spark-project.hive/hive-serde

public static LazyPrimitive<? extends ObjectInspector, ? extends Writable>
createLazyPrimitiveBinaryClass(PrimitiveObjectInspector poi) {
 PrimitiveCategory pc = poi.getPrimitiveCategory();
 switch (pc) {
 case BOOLEAN:
  return new LazyDioBoolean((LazyBooleanObjectInspector) poi);
 case BYTE:
  return new LazyDioByte((LazyByteObjectInspector) poi);
 case SHORT:
  return new LazyDioShort((LazyShortObjectInspector) poi);
 case INT:
  return new LazyDioInteger((LazyIntObjectInspector) poi);
 case LONG:
  return new LazyDioLong((LazyLongObjectInspector) poi);
 case FLOAT:
  return new LazyDioFloat((LazyFloatObjectInspector) poi);
 case DOUBLE:
  return new LazyDioDouble((LazyDoubleObjectInspector) poi);
 default:
  throw new RuntimeException("Hive Internal Error: no LazyObject for " + poi);
 }
}
origin: org.apache.hive/hive-serde

public static LazyPrimitive<? extends ObjectInspector, ? extends Writable>
createLazyPrimitiveBinaryClass(PrimitiveObjectInspector poi) {
 PrimitiveCategory pc = poi.getPrimitiveCategory();
 switch (pc) {
 case BOOLEAN:
  return new LazyDioBoolean((LazyBooleanObjectInspector) poi);
 case BYTE:
  return new LazyDioByte((LazyByteObjectInspector) poi);
 case SHORT:
  return new LazyDioShort((LazyShortObjectInspector) poi);
 case INT:
  return new LazyDioInteger((LazyIntObjectInspector) poi);
 case LONG:
  return new LazyDioLong((LazyLongObjectInspector) poi);
 case FLOAT:
  return new LazyDioFloat((LazyFloatObjectInspector) poi);
 case DOUBLE:
  return new LazyDioDouble((LazyDoubleObjectInspector) poi);
 case BINARY:
  return new LazyDioBinary((LazyBinaryObjectInspector) poi);
 case DECIMAL:
  return new LazyDioHiveDecimal((LazyHiveDecimalObjectInspector) poi);
 default:
  throw new RuntimeException("Hive Internal Error: no LazyObject for " + poi);
 }
}
org.apache.hadoop.hive.serde2.lazydioLazyDioLong

Javadoc

LazyLongBinary for storing a long value as a LongWritable. This class complements class LazyLong. It's primary difference is the #init(ByteArrayRef,int,int) method, which reads the long value stored in the default binary format.

Most used methods

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Permission (java.security)
    Legacy security code; do not use.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Best plugins for Eclipse
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