This document provides detailed information about the conversions from Avrotize schemas to various NoSQL database schemas.
Command: a2cassandra
Description: Converts an Avrotize schema to a Cassandra schema.
- Primary Key: The first field in the schema is used as the primary key. Additional unique fields are added as clustering keys.
- CloudEvents Columns: If enabled, additional columns for CloudEvents are added to the schema.
- Column Types: Avro types are mapped to corresponding Cassandra types:
null:NULLboolean:booleanint:intlong:bigintfloat:floatdouble:doublebytes:blobstring:textarray,map,record,union:text
Command: a2dynamodb
Description: Converts an Avrotize schema to a DynamoDB schema.
- Primary Key: The first field in the schema is used as the partition key. Additional unique fields are added as sort keys.
- CloudEvents Columns: If enabled, additional columns for CloudEvents are added to the schema.
- Column Types: Avro types are mapped to corresponding DynamoDB types:
null:NULLboolean:BOOLint,long,float,double:Nbytes:Bstring,array,map,record,union:S
Command: a2elasticsearch
Description: Converts an Avrotize schema to an Elasticsearch schema.
- CloudEvents Columns: If enabled, additional fields for CloudEvents are added to the schema.
- Field Types: Avro types are mapped to corresponding Elasticsearch types:
null:nullboolean:booleanint:integerlong:longfloat:floatdouble:doublebytes:binarystring:textarray,map,record,union:text
Command: a2couchdb
Description: Converts an Avrotize schema to a CouchDB schema.
- CloudEvents Columns: If enabled, additional fields for CloudEvents are added to the schema.
- Field Types: Avro types are mapped to corresponding CouchDB types:
null:nullboolean:booleanint,long:integerfloat,double:numberbytes,string,array,map,record,union:string
Command: a2neo4j
Description: Converts an Avrotize schema to a Neo4j schema.
- CloudEvents Columns: If enabled, additional fields for CloudEvents are added to the schema.
- Field Types: Avro types are mapped to corresponding Neo4j types:
null:NULLboolean,int,long,float,double:numberbytes,string,array,map,record,union:string
Command: a2firebase
Description: Converts an Avrotize schema to a Firebase schema.
- CloudEvents Columns: If enabled, additional fields for CloudEvents are added to the schema.
- Field Types: Avro types are mapped to corresponding Firebase types:
null:nullboolean:booleanint,long:integerfloat,double:numberbytes,string,array,map,record,union:string
Command: a2cosmosdb
Description: Converts an Avrotize schema to a CosmosDB schema.
- Partition Key: The first field in the schema is used as the partition key. Additional unique fields are added as sort keys.
- CloudEvents Columns: If enabled, additional fields for CloudEvents are added to the schema.
- Field Types: Avro types are mapped to corresponding CosmosDB types:
null:nullboolean:booleanint:numberlong:numberfloat,double:numberbytes,string,array,map,record,union:string
Command: a2hbase
Description: Converts an Avrotize schema to an HBase schema.
- CloudEvents Columns: If enabled, additional columns for CloudEvents are added to the schema.
- Column Families: Each field in the Avro schema is converted to a column family in HBase.
- Column Types: Avro types are mapped to corresponding HBase column families:
null:stringboolean:booleanint,long:integerfloat,double:numberbytes,string,array,map,record,union:string
This document serves as a reference for understanding the specific mappings and additional configurations available when converting Avrotize schemas to NoSQL database schemas.