congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Conversion.fromBoolean
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: apache/avro

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 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.fromBoolean(
    (Boolean) value, schema, logicalType));
 }
};
origin: org.apache.parquet/parquet-avro

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

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.avroConversionfromBoolean

Popular methods of Conversion

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

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Table (org.hibernate.mapping)
    A relational table
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top Sublime Text plugins
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