Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Almost full support for clean JSON, plus some lossless JSON fixes

Clean JSON correctly supports all numeric and spatial types, plus hex and uuid.

Lossless JSON correctly supports uuid and hex, and "circle" is correct now.

Date/time types remain unfixed for both JSON formats.

Change-Id: I5c37d3b5aad7f286eba1cb8cb5f05ad456a6521d

Reviewed-on: https://asterix-gerrit.ics.uci.edu/362

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Chris Hillery <ceej@lambda.nu>

  1. … 47 more files in changeset.
Add the Binary data type and corresponding helper functions to Asterix.

The binary data type is implemented as a bytearray. Its storage format

follows the String type which has 2 bytes for length and then store the

bytes contents.

Binary data will take hex("") or base64("") as the constructor method to

passing a hex string or base64 string into Asterix. For output we use

hex("") format.

The parse-[hex|base64](string) function will parse the corresponding hex

or base64 string to binary type. The print-[hex|base64](binary)

functions will print the binary to hex or base64 STRING format.

The sub-binary(binary, offset, [length]) function works the same as

substring(string, offset, [length])

The find-binary(srcbinary, targetbinary, [start-offset]) will find the

position of the targetbinary in the srcbinary.

Change-Id: I5ecf0cc115c44070fb5c1fc5b0ec12a95d4243a4

Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/175

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

  1. … 127 more files in changeset.
Merged asterix_lsm_stabilization upto r1547

git-svn-id: https://asterixdb.googlecode.com/svn/trunk/asterix@1622 eaa15691-b419-025a-1212-ee371bd00084

  1. … 6220 more files in changeset.
Updated the implementation of ADate and ADuration to follow the ISO8601 standard. The following changes are included: - Added new implementation of ADate: now with support to ISO8601 extended and basic representations; internal storage uses an integer as the number of days since 1970-01-01Z; negative year support (proleptic Gregorian calendar system). - Added new implementation of ADuration: ISO8601 support; now support arbitrary field value (like P120D representing 120 days); support millisecond duration; internally a duration is represented as a year-month field and a day-to-second field. - Refactored GregorianCalendarSystem implementation to move functions close to their caller (so the class is skimmed). - Refactored the ATime and ADateTime implementation to follow the same implementation pattern as ADate and ADuration.

This commit fixes issue 106, issue 107 and issue 116.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_temporal_fixes@338 eaa15691-b419-025a-1212-ee371bd00084

  1. … 37 more files in changeset.
Added asterix project

git-svn-id: https://asterixdb.googlecode.com/svn/trunk/asterix@12 eaa15691-b419-025a-1212-ee371bd00084

  1. … 1988 more files in changeset.