Tabnine Logo
Conversion.fromFloat
Code IndexAdd Tabnine to your IDE (free)

How to use
fromFloat
method
in
org.apache.avro.Conversion

Best Java code snippets using org.apache.avro.Conversion.fromFloat (Showing top 5 results out of 315)

origin: apache/avro

case INT:     return conversion.fromInt((Integer) datum, schema, type);
case LONG:    return conversion.fromLong((Long) datum, schema, type);
case FLOAT:   return conversion.fromFloat((Float) datum, schema, type);
case DOUBLE:  return conversion.fromDouble((Double) datum, schema, type);
case BOOLEAN: return conversion.fromBoolean((Boolean) datum, schema, type);
origin: org.apache.avro/avro

case INT:     return conversion.fromInt((Integer) datum, schema, type);
case LONG:    return conversion.fromLong((Long) datum, schema, type);
case FLOAT:   return conversion.fromFloat((Float) datum, schema, type);
case DOUBLE:  return conversion.fromDouble((Double) datum, schema, type);
case BOOLEAN: return conversion.fromBoolean((Boolean) datum, schema, type);
origin: org.apache.parquet/parquet-avro

 @Override
 public void add(Object value) {
  parent.add(conversion.fromFloat(
    (Float) value, schema, logicalType));
 }
};
origin: org.apache.parquet/parquet-avro

@Override
public void addFloat(float value) {
 wrapped.add(conversion.fromFloat(value, schema, logicalType));
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.avro

case INT:     return conversion.fromInt((Integer) datum, schema, type);
case LONG:    return conversion.fromLong((Long) datum, schema, type);
case FLOAT:   return conversion.fromFloat((Float) datum, schema, type);
case DOUBLE:  return conversion.fromDouble((Double) datum, schema, type);
case BOOLEAN: return conversion.fromBoolean((Boolean) datum, schema, type);
org.apache.avroConversionfromFloat

Popular methods of Conversion

  • getConvertedType
    Return the Java class representing the logical type.
  • toBytes
  • toFixed
  • fromArray
  • fromBoolean
  • fromBytes
  • fromCharSequence
  • fromDouble
  • fromEnumSymbol
  • fromFixed
  • fromInt
  • fromLong
  • fromInt,
  • fromLong,
  • fromMap,
  • fromRecord,
  • toArray,
  • toBoolean,
  • toCharSequence,
  • toDouble,
  • toEnumSymbol

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JTable (javax.swing)
  • Top plugins for WebStorm
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