Liking cljdoc? Tell your friends :D

fileape.parquet.write-support

Implement java write support for parquet the different types and cases that can be written is done via multimethods while the actual WriterSupport is reified

Implement java write support for parquet
the different types and cases that can be written is
done via multimethods while the actual WriterSupport is reified
raw docstring

as-floatclj

(as-float val)
source

as-numberclj

(as-number val)
source

asbinaryclj

(asbinary v)
source

BYTE-ARRAY-CLASSclj

source

check-is-mapclj

(check-is-map v)

If v is not null then check that v is an instanceof java.util.Map, if not an exception is thrown

If v is not null then check that v is an instanceof java.util.Map, if not an exception is thrown
sourceraw docstring

date->int-secondsclj

(date->int-seconds date)

Convert a date to seconds and return a casted int

Convert a date to seconds and return a casted int
sourceraw docstring

end-fieldclj

(end-field rconsumer field-name i)
source

end-groupclj

(end-group rconsumer)
source

get-map-schemasclj

(get-map-schemas schema)

The schema should be a valid hive map and have the format #<GroupType optional group [map-field-name] (MAP) { repeated group map (MAP_KEY_VALUE) { required binary key; optional binary value; } }

The schema should be a valid hive map and have the format
   #<GroupType optional group [map-field-name] (MAP) {
  repeated group map (MAP_KEY_VALUE) {
    required binary key;
    optional binary value;
  }
}
sourceraw docstring

java-write-supportclj

(java-write-support schema meta)

Returns an instance of WriteSupport that will correctly serialise standard java types compatible with Hive.

Note: Repeated must have List as the original Type and will be a list type groups must be a Map type

Returns an instance of WriteSupport that will correctly
serialise standard java types compatible with Hive.

Note: Repeated must have List as the original Type and will be a list type
      groups must be a Map type
sourceraw docstring

start-fieldclj

(start-field rconsumer field-name i)
source

start-groupclj

(start-group rconsumer)
source

with-defaultcljmacro

(with-default default & body)
source

write-extended-valcljmultimethod

Any object other than a Java primitive, the dispatch is based on the Type::originalType

Any object other than a Java primitive, the dispatch is based on the Type::originalType
sourceraw docstring

write-key-valueclj

(write-key-value rconsumer schema k v)

Write a hive map compatible data structure from the schema { repeated group map (MAP_KEY_VALUE) { required binary key; optional binary value; } } Note only the key value parts are written, the group and field for map needs to be created before and ended after this function is called for all key values

Write a hive map compatible data structure from the schema {
  repeated group map (MAP_KEY_VALUE) {
    required binary key;
    optional binary value;
  }
}
   Note only the key value parts are written, the group and field for map needs to be created before and ended after this function is called for all key values
sourceraw docstring

write-message-fieldsclj

(write-message-fields rconsumer schema val)

Write the fields of a top level message

Write the fields of a top level message
sourceraw docstring

write-primitive-valclj

(write-primitive-val rconsumer schema val)
source

write-valclj

(write-val rconsumer schema val)

Write a primitive or extend (List Map) value

Write a primitive or extend (List Map) value
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close