Permalink
Browse files

Removing gen-java

  • Loading branch information...
1 parent 12791c1 commit 83dd4841e40f44b884405884415b81a1fa9ffc1d @pbailis committed May 18, 2012
Showing with 0 additions and 31,380 deletions.
  1. +0 −11 src/gen-java/org/apache/cassandra/InterNode.java
  2. +0 −147 src/gen-java/org/apache/cassandra/cli/Cli.tokens
  3. +0 −3,171 src/gen-java/org/apache/cassandra/cli/CliLexer.java
  4. +0 −9,559 src/gen-java/org/apache/cassandra/cli/CliParser.java
  5. +0 −131 src/gen-java/org/apache/cassandra/cql/Cql.tokens
  6. +0 −4,491 src/gen-java/org/apache/cassandra/cql/CqlLexer.java
  7. +0 −4,189 src/gen-java/org/apache/cassandra/cql/CqlParser.java
  8. +0 −123 src/gen-java/org/apache/cassandra/cql3/Cql.tokens
  9. +0 −4,747 src/gen-java/org/apache/cassandra/cql3/CqlLexer.java
  10. +0 −4,387 src/gen-java/org/apache/cassandra/cql3/CqlParser.java
  11. +0 −28 src/gen-java/org/apache/cassandra/db/migration/avro/AddColumnFamily.java
  12. +0 −28 src/gen-java/org/apache/cassandra/db/migration/avro/AddKeyspace.java
  13. +0 −106 src/gen-java/org/apache/cassandra/db/migration/avro/CfDef.java
  14. +0 −40 src/gen-java/org/apache/cassandra/db/migration/avro/ColumnDef.java
  15. +0 −31 src/gen-java/org/apache/cassandra/db/migration/avro/DropColumnFamily.java
  16. +0 −28 src/gen-java/org/apache/cassandra/db/migration/avro/DropKeyspace.java
  17. +0 −11 src/gen-java/org/apache/cassandra/db/migration/avro/IndexType.java
  18. +0 −43 src/gen-java/org/apache/cassandra/db/migration/avro/KsDef.java
  19. +0 −40 src/gen-java/org/apache/cassandra/db/migration/avro/Migration.java
  20. +0 −28 src/gen-java/org/apache/cassandra/db/migration/avro/UpdateColumnFamily.java
  21. +0 −31 src/gen-java/org/apache/cassandra/db/migration/avro/UpdateKeyspace.java
  22. +0 −10 src/gen-java/org/apache/cassandra/utils/avro/UUID.java
View
11 src/gen-java/org/apache/cassandra/InterNode.java
@@ -1,11 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra;
-
-@SuppressWarnings("all")
-public interface InterNode {
- public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"InterNode\",\"namespace\":\"org.apache.cassandra\",\"types\":[{\"type\":\"enum\",\"name\":\"IndexType\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"symbols\":[\"KEYS\",\"CUSTOM\"],\"aliases\":[\"org.apache.cassandra.config.avro.IndexType\"]},{\"type\":\"record\",\"name\":\"ColumnDef\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"name\",\"type\":\"bytes\"},{\"name\":\"validation_class\",\"type\":\"string\"},{\"name\":\"index_type\",\"type\":[\"org.apache.cassandra.db.migration.avro.IndexType\",\"null\"]},{\"name\":\"index_name\",\"type\":[\"string\",\"null\"]},{\"name\":\"index_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null}],\"aliases\":[\"org.apache.cassandra.config.avro.ColumnDef\"]},{\"type\":\"record\",\"name\":\"CfDef\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"keyspace\",\"type\":\"string\"},{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"column_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"subcomparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comment\",\"type\":[\"string\",\"null\"]},{\"name\":\"read_repair_chance\",\"type\":[\"double\",\"null\"]},{\"name\":\"replicate_on_write\",\"type\":\"boolean\",\"default\":false},{\"name\":\"gc_grace_seconds\",\"type\":[\"int\",\"null\"]},{\"name\":\"default_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"key_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"min_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"max_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"merge_shards_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"id\",\"type\":[\"int\",\"null\"]},{\"name\":\"column_metadata\",\"type\":[{\"type\":\"array\",\"items\":\"org.apache.cassandra.db.migration.avro.ColumnDef\"},\"null\"]},{\"name\":\"key_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"compaction_strategy\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"compaction_strategy_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"compression_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"bloom_filter_fp_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"caching\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"column_aliases\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"bytes\"}],\"default\":null},{\"name\":\"value_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"dclocal_read_repair_chance\",\"type\":[\"double\",\"null\"],\"default\":0.0},{\"name\":\"row_cache_size\",\"type\":[\"double\",\"null\"]},{\"name\":\"key_cache_size\",\"type\":[\"double\",\"null\"]}],\"aliases\":[\"org.apache.cassandra.config.avro.CfDef\"]},{\"type\":\"record\",\"name\":\"KsDef\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"strategy_class\",\"type\":\"string\"},{\"name\":\"strategy_options\",\"type\":[{\"type\":\"map\",\"values\":\"string\"},\"null\"]},{\"name\":\"replication_factor\",\"type\":[\"int\",\"null\"]},{\"name\":\"cf_defs\",\"type\":{\"type\":\"array\",\"items\":\"org.apache.cassandra.db.migration.avro.CfDef\"}},{\"name\":\"durable_writes\",\"type\":\"boolean\",\"default\":true}],\"aliases\":[\"org.apache.cassandra.config.avro.KsDef\"]},{\"type\":\"fixed\",\"name\":\"UUID\",\"namespace\":\"org.apache.cassandra.utils.avro\",\"size\":16},{\"type\":\"record\",\"name\":\"AddColumnFamily\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"cf\",\"type\":\"org.apache.cassandra.db.migration.avro.CfDef\"}]},{\"type\":\"record\",\"name\":\"AddKeyspace\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"ks\",\"type\":\"org.apache.cassandra.db.migration.avro.KsDef\"}]},{\"type\":\"record\",\"name\":\"DropColumnFamily\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"ksname\",\"type\":\"string\"},{\"name\":\"cfname\",\"type\":\"string\"}]},{\"type\":\"record\",\"name\":\"DropKeyspace\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"ksname\",\"type\":\"string\"}]},{\"type\":\"record\",\"name\":\"UpdateKeyspace\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"oldKs\",\"type\":\"org.apache.cassandra.db.migration.avro.KsDef\"},{\"name\":\"newKs\",\"type\":\"org.apache.cassandra.db.migration.avro.KsDef\"}]},{\"type\":\"record\",\"name\":\"UpdateColumnFamily\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"metadata\",\"type\":\"org.apache.cassandra.db.migration.avro.CfDef\"}]},{\"type\":\"record\",\"name\":\"Migration\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"old_version\",\"type\":\"org.apache.cassandra.utils.avro.UUID\"},{\"name\":\"new_version\",\"type\":\"org.apache.cassandra.utils.avro.UUID\"},{\"name\":\"row_mutation\",\"type\":\"bytes\"},{\"name\":\"classname\",\"type\":\"string\"},{\"name\":\"migration\",\"type\":[\"org.apache.cassandra.db.migration.avro.AddColumnFamily\",\"org.apache.cassandra.db.migration.avro.DropColumnFamily\",\"org.apache.cassandra.db.migration.avro.AddKeyspace\",\"org.apache.cassandra.db.migration.avro.DropKeyspace\",\"org.apache.cassandra.db.migration.avro.UpdateKeyspace\",\"org.apache.cassandra.db.migration.avro.UpdateColumnFamily\"]}]}],\"messages\":{}}");
-}
View
147 src/gen-java/org/apache/cassandra/cli/Cli.tokens
@@ -1,147 +0,0 @@
-NODE_DESCRIBE=5
-NODE_THRIFT_GET_WITH_CONDITIONS=16
-TTL=80
-NODE_SHOW_KEYSPACES=13
-CONDITION=39
-COUNT=71
-DecimalDigit=101
-Identifier=77
-NODE_UPDATE_COLUMN_FAMILY=27
-SingleStringCharacter=93
-NODE_USE_TABLE=7
-NODE_DEL_KEYSPACE=24
-CREATE=59
-NODE_CONNECT=4
-CONNECT=49
-INCR=68
-SingleEscapeCharacter=98
-FAMILY=63
-GET=66
-COMMENT=104
-SHOW=55
-ARRAY=41
-NODE_ADD_KEYSPACE=23
-EXIT=53
-NODE_COLUMNS=45
-NODE_THRIFT_DEL=19
-IntegerNegativeLiteral=84
-ON=82
-NODE_DROP_INDEX=32
-SEMICOLON=48
-KEYSPACES=56
-CONDITIONS=40
-FILE=88
-LIST=72
-NODE_LIMIT=44
-NODE_DESCRIBE_CLUSTER=6
-IP_ADDRESS=86
-T__126=126
-NODE_THRIFT_SET=17
-NODE_NO_OP=10
-T__125=125
-NODE_ID_LIST=34
-WS=103
-ASSUME=74
-NODE_THRIFT_COUNT=18
-DESCRIBE=52
-Alnum=92
-CharacterEscapeSequence=95
-NODE_SHOW_CLUSTER_NAME=11
-USE=51
-NODE_THRIFT_DECR=21
-FUNCTION_CALL=38
-EscapeSequence=94
-Letter=90
-DoubleLiteral=85
-HELP=50
-HexEscapeSequence=96
-NODE_EXIT=8
-LIMIT=89
-T__118=118
-DEL=70
-T__119=119
-T__116=116
-T__117=117
-T__114=114
-NODE_SHOW_SCHEMA=14
-T__115=115
-T__124=124
-T__123=123
-NODE_LIST=28
-UPDATE=61
-T__122=122
-NODE_UPDATE_KEYSPACE=26
-T__121=121
-T__120=120
-AND=83
-NODE_NEW_CF_ACCESS=35
-CONSISTENCYLEVEL=75
-HexDigit=102
-QUIT=54
-NODE_TRUNCATE=29
-INDEX=65
-NODE_SHOW_VERSION=12
-T__107=107
-T__108=108
-NODE_NEW_KEYSPACE_ACCESS=36
-T__109=109
-NODE_REVERSED=46
-TRUNCATE=73
-T__105=105
-T__106=106
-COLUMN=62
-T__111=111
-T__110=110
-T__113=113
-EscapeCharacter=100
-T__112=112
-PAIR=43
-NODE_CONSISTENCY_LEVEL=31
-WITH=79
-BY=81
-UnicodeEscapeSequence=97
-HASH=42
-SET=67
-Digit=91
-API_VERSION=58
-NODE_ASSUME=30
-CONVERT_TO_TYPE=37
-NODE_THRIFT_GET=15
-NODE_DEL_COLUMN_FAMILY=25
-NODE_KEY_RANGE=47
-KEYSPACE=60
-StringLiteral=78
-NODE_HELP=9
-CONFIG=87
-IntegerPositiveLiteral=76
-SCHEMA=57
-DROP=64
-NonEscapeCharacter=99
-DECR=69
-NODE_ADD_COLUMN_FAMILY=22
-NODE_THRIFT_INCR=20
-NODE_COLUMN_ACCESS=33
-'}'=121
-'>='=114
-'/'=105
-'REVERSED'=124
-'LIMIT'=89
-'{'=120
-'>'=112
-'AS'=109
-'?'=108
-'<='=115
-'CLUSTER'=106
-'='=111
-'<'=113
-'('=125
-':'=122
-'['=117
-'WHERE'=110
-'CLUSTER NAME'=107
-','=118
-')'=126
-'.'=116
-'AND'=83
-'COLUMNS'=123
-']'=119
View
3,171 src/gen-java/org/apache/cassandra/cli/CliLexer.java
0 additions, 3,171 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
9,559 src/gen-java/org/apache/cassandra/cli/CliParser.java
0 additions, 9,559 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
131 src/gen-java/org/apache/cassandra/cql/Cql.tokens
@@ -1,131 +0,0 @@
-LETTER=76
-K_CREATE=32
-K_PRIMARY=37
-T__93=93
-T__94=94
-T__91=91
-K_USE=4
-T__92=92
-K_VALUES=23
-STRING_LITERAL=7
-T__90=90
-K_ON=41
-K_USING=11
-K_ADD=45
-K_KEY=38
-COMMENT=79
-K_TRUNCATE=48
-T__99=99
-T__98=98
-T__97=97
-T__96=96
-T__95=95
-D=62
-E=50
-F=54
-G=68
-K_COUNT=9
-K_KEYSPACE=33
-K_TYPE=44
-T__81=81
-A=60
-B=71
-T__82=82
-T__83=83
-C=52
-L=51
-M=57
-N=61
-O=56
-H=59
-I=65
-J=73
-K_UPDATE=29
-K=63
-U=66
-T=53
-W=58
-V=70
-Q=69
-P=67
-S=49
-R=55
-T__85=85
-T__84=84
-T__87=87
-T__86=86
-K_TTL=25
-T__89=89
-Y=64
-X=72
-T__88=88
-Z=74
-K_INDEX=40
-K_REVERSED=17
-K_INSERT=21
-WS=78
-K_APPLY=28
-K_TIMESTAMP=24
-K_AND=19
-QMARK=47
-K_LEVEL=13
-K_BATCH=27
-UUID=46
-K_DELETE=31
-FLOAT=39
-K_SELECT=8
-K_LIMIT=15
-K_ALTER=43
-K_SET=30
-K_WHERE=14
-MULTILINE_COMMENT=80
-T__107=107
-HEX=77
-K_INTO=22
-T__103=103
-T__104=104
-T__105=105
-T__106=106
-IDENT=5
-DIGIT=75
-K_FIRST=16
-K_BEGIN=26
-INTEGER=6
-RANGEOP=18
-K_CONSISTENCY=12
-K_WITH=34
-COMPIDENT=35
-T__102=102
-T__101=101
-T__100=100
-K_IN=20
-K_FROM=10
-K_COLUMNFAMILY=36
-K_DROP=42
-'blob'=88
-'>='=106
-'counter'=96
-'text'=90
-'uuid'=95
-'timestamp'=98
-'>'=107
-'\*'=85
-';'=86
-'='=87
-'+'=102
-'.'=83
-')'=82
-'float'=99
-'boolean'=97
-'ascii'=89
-'double'=100
-'varint'=93
-'<='=105
-'decimal'=101
-'varchar'=91
-'int'=92
-'<'=104
-'bigint'=94
-'('=81
-'-'=103
-','=84
View
4,491 src/gen-java/org/apache/cassandra/cql/CqlLexer.java
0 additions, 4,491 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
4,189 src/gen-java/org/apache/cassandra/cql/CqlParser.java
0 additions, 4,189 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
123 src/gen-java/org/apache/cassandra/cql3/Cql.tokens
@@ -1,123 +0,0 @@
-LETTER=96
-K_INT=63
-K_CREATE=30
-K_CLUSTERING=38
-K_PRIMARY=34
-K_VALUES=21
-K_USE=4
-STRING_LITERAL=49
-K_ON=41
-K_USING=8
-K_ADD=44
-K_ASC=17
-K_KEY=35
-COMMENT=99
-K_TRUNCATE=46
-K_ORDER=12
-D=82
-E=70
-F=74
-G=88
-K_COUNT=6
-K_KEYSPACE=31
-K_TYPE=43
-A=80
-B=90
-C=72
-L=71
-M=77
-N=81
-O=76
-H=79
-I=85
-J=93
-K_UPDATE=24
-K=83
-U=86
-T=73
-K_TEXT=64
-W=78
-V=92
-Q=89
-P=87
-K_COMPACT=36
-S=69
-R=75
-K_TTL=23
-Y=84
-X=91
-Z=94
-K_INDEX=39
-K_INSERT=19
-WS=98
-K_APPLY=29
-K_STORAGE=37
-K_TIMESTAMP=22
-K_AND=16
-K_DESC=18
-K_TOKEN=48
-QMARK=52
-K_LEVEL=10
-K_BATCH=28
-K_UUID=65
-K_ASCII=55
-UUID=50
-K_DELETE=26
-K_BY=13
-FLOAT=51
-K_FLOAT=62
-K_VARINT=67
-K_DOUBLE=61
-K_SELECT=5
-K_LIMIT=14
-K_ALTER=42
-K_BOOLEAN=58
-K_SET=25
-K_WHERE=11
-QUOTED_NAME=47
-MULTILINE_COMMENT=100
-K_BLOB=57
-T__107=107
-HEX=97
-K_INTO=20
-T__108=108
-T__109=109
-T__103=103
-T__104=104
-T__105=105
-T__106=106
-T__111=111
-T__110=110
-K_VARCHAR=66
-T__113=113
-IDENT=40
-T__112=112
-DIGIT=95
-K_BEGIN=27
-INTEGER=15
-K_COUNTER=59
-K_DECIMAL=60
-K_CONSISTENCY=9
-K_WITH=32
-COMPIDENT=53
-T__102=102
-T__101=101
-K_IN=54
-K_FROM=7
-K_COLUMNFAMILY=33
-K_DROP=45
-K_BIGINT=56
-K_TIMEUUID=68
-'>='=112
-'>'=113
-'\*'=105
-'<='=111
-';'=101
-'='=106
-'<'=110
-'('=102
-'-'=109
-'+'=108
-','=104
-')'=103
-'.'=107
View
4,747 src/gen-java/org/apache/cassandra/cql3/CqlLexer.java
0 additions, 4,747 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
4,387 src/gen-java/org/apache/cassandra/cql3/CqlParser.java
0 additions, 4,387 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
28 src/gen-java/org/apache/cassandra/db/migration/avro/AddColumnFamily.java
@@ -1,28 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public class AddColumnFamily extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"AddColumnFamily\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"cf\",\"type\":{\"type\":\"record\",\"name\":\"CfDef\",\"fields\":[{\"name\":\"keyspace\",\"type\":\"string\"},{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"column_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"subcomparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comment\",\"type\":[\"string\",\"null\"]},{\"name\":\"read_repair_chance\",\"type\":[\"double\",\"null\"]},{\"name\":\"replicate_on_write\",\"type\":\"boolean\",\"default\":false},{\"name\":\"gc_grace_seconds\",\"type\":[\"int\",\"null\"]},{\"name\":\"default_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"key_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"min_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"max_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"merge_shards_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"id\",\"type\":[\"int\",\"null\"]},{\"name\":\"column_metadata\",\"type\":[{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"ColumnDef\",\"fields\":[{\"name\":\"name\",\"type\":\"bytes\"},{\"name\":\"validation_class\",\"type\":\"string\"},{\"name\":\"index_type\",\"type\":[{\"type\":\"enum\",\"name\":\"IndexType\",\"symbols\":[\"KEYS\",\"CUSTOM\"],\"aliases\":[\"org.apache.cassandra.config.avro.IndexType\"]},\"null\"]},{\"name\":\"index_name\",\"type\":[\"string\",\"null\"]},{\"name\":\"index_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null}],\"aliases\":[\"org.apache.cassandra.config.avro.ColumnDef\"]}},\"null\"]},{\"name\":\"key_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"compaction_strategy\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"compaction_strategy_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"compression_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"bloom_filter_fp_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"caching\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"column_aliases\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"bytes\"}],\"default\":null},{\"name\":\"value_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"dclocal_read_repair_chance\",\"type\":[\"double\",\"null\"],\"default\":0.0},{\"name\":\"row_cache_size\",\"type\":[\"double\",\"null\"]},{\"name\":\"key_cache_size\",\"type\":[\"double\",\"null\"]}],\"aliases\":[\"org.apache.cassandra.config.avro.CfDef\"]}}]}");
- public org.apache.cassandra.db.migration.avro.CfDef cf;
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- case 0: return cf;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- case 0: cf = (org.apache.cassandra.db.migration.avro.CfDef)value$; break;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-}
View
28 src/gen-java/org/apache/cassandra/db/migration/avro/AddKeyspace.java
@@ -1,28 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public class AddKeyspace extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"AddKeyspace\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"ks\",\"type\":{\"type\":\"record\",\"name\":\"KsDef\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"strategy_class\",\"type\":\"string\"},{\"name\":\"strategy_options\",\"type\":[{\"type\":\"map\",\"values\":\"string\"},\"null\"]},{\"name\":\"replication_factor\",\"type\":[\"int\",\"null\"]},{\"name\":\"cf_defs\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"CfDef\",\"fields\":[{\"name\":\"keyspace\",\"type\":\"string\"},{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"column_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"subcomparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comment\",\"type\":[\"string\",\"null\"]},{\"name\":\"read_repair_chance\",\"type\":[\"double\",\"null\"]},{\"name\":\"replicate_on_write\",\"type\":\"boolean\",\"default\":false},{\"name\":\"gc_grace_seconds\",\"type\":[\"int\",\"null\"]},{\"name\":\"default_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"key_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"min_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"max_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"merge_shards_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"id\",\"type\":[\"int\",\"null\"]},{\"name\":\"column_metadata\",\"type\":[{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"ColumnDef\",\"fields\":[{\"name\":\"name\",\"type\":\"bytes\"},{\"name\":\"validation_class\",\"type\":\"string\"},{\"name\":\"index_type\",\"type\":[{\"type\":\"enum\",\"name\":\"IndexType\",\"symbols\":[\"KEYS\",\"CUSTOM\"],\"aliases\":[\"org.apache.cassandra.config.avro.IndexType\"]},\"null\"]},{\"name\":\"index_name\",\"type\":[\"string\",\"null\"]},{\"name\":\"index_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null}],\"aliases\":[\"org.apache.cassandra.config.avro.ColumnDef\"]}},\"null\"]},{\"name\":\"key_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"compaction_strategy\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"compaction_strategy_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"compression_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"bloom_filter_fp_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"caching\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"column_aliases\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"bytes\"}],\"default\":null},{\"name\":\"value_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"dclocal_read_repair_chance\",\"type\":[\"double\",\"null\"],\"default\":0.0},{\"name\":\"row_cache_size\",\"type\":[\"double\",\"null\"]},{\"name\":\"key_cache_size\",\"type\":[\"double\",\"null\"]}],\"aliases\":[\"org.apache.cassandra.config.avro.CfDef\"]}}},{\"name\":\"durable_writes\",\"type\":\"boolean\",\"default\":true}],\"aliases\":[\"org.apache.cassandra.config.avro.KsDef\"]}}]}");
- public org.apache.cassandra.db.migration.avro.KsDef ks;
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- case 0: return ks;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- case 0: ks = (org.apache.cassandra.db.migration.avro.KsDef)value$; break;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-}
View
106 src/gen-java/org/apache/cassandra/db/migration/avro/CfDef.java
@@ -1,106 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public class CfDef extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"CfDef\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"keyspace\",\"type\":\"string\"},{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"column_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"subcomparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comment\",\"type\":[\"string\",\"null\"]},{\"name\":\"read_repair_chance\",\"type\":[\"double\",\"null\"]},{\"name\":\"replicate_on_write\",\"type\":\"boolean\",\"default\":false},{\"name\":\"gc_grace_seconds\",\"type\":[\"int\",\"null\"]},{\"name\":\"default_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"key_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"min_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"max_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"merge_shards_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"id\",\"type\":[\"int\",\"null\"]},{\"name\":\"column_metadata\",\"type\":[{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"ColumnDef\",\"fields\":[{\"name\":\"name\",\"type\":\"bytes\"},{\"name\":\"validation_class\",\"type\":\"string\"},{\"name\":\"index_type\",\"type\":[{\"type\":\"enum\",\"name\":\"IndexType\",\"symbols\":[\"KEYS\",\"CUSTOM\"],\"aliases\":[\"org.apache.cassandra.config.avro.IndexType\"]},\"null\"]},{\"name\":\"index_name\",\"type\":[\"string\",\"null\"]},{\"name\":\"index_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null}],\"aliases\":[\"org.apache.cassandra.config.avro.ColumnDef\"]}},\"null\"]},{\"name\":\"key_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"compaction_strategy\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"compaction_strategy_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"compression_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"bloom_filter_fp_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"caching\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"column_aliases\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"bytes\"}],\"default\":null},{\"name\":\"value_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"dclocal_read_repair_chance\",\"type\":[\"double\",\"null\"],\"default\":0.0},{\"name\":\"row_cache_size\",\"type\":[\"double\",\"null\"]},{\"name\":\"key_cache_size\",\"type\":[\"double\",\"null\"]}],\"aliases\":[\"org.apache.cassandra.config.avro.CfDef\"]}");
- public java.lang.CharSequence keyspace;
- public java.lang.CharSequence name;
- public java.lang.CharSequence column_type;
- public java.lang.CharSequence comparator_type;
- public java.lang.CharSequence subcomparator_type;
- public java.lang.CharSequence comment;
- public java.lang.Double read_repair_chance;
- public boolean replicate_on_write;
- public java.lang.Integer gc_grace_seconds;
- public java.lang.CharSequence default_validation_class;
- public java.lang.CharSequence key_validation_class;
- public java.lang.Integer min_compaction_threshold;
- public java.lang.Integer max_compaction_threshold;
- public java.lang.Double merge_shards_chance;
- public java.lang.Integer id;
- public java.util.List<org.apache.cassandra.db.migration.avro.ColumnDef> column_metadata;
- public java.nio.ByteBuffer key_alias;
- public java.lang.CharSequence compaction_strategy;
- public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> compaction_strategy_options;
- public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> compression_options;
- public java.lang.Double bloom_filter_fp_chance;
- public java.lang.CharSequence caching;
- public java.util.List<java.nio.ByteBuffer> column_aliases;
- public java.nio.ByteBuffer value_alias;
- public java.lang.Double dclocal_read_repair_chance;
- public java.lang.Double row_cache_size;
- public java.lang.Double key_cache_size;
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- case 0: return keyspace;
- case 1: return name;
- case 2: return column_type;
- case 3: return comparator_type;
- case 4: return subcomparator_type;
- case 5: return comment;
- case 6: return read_repair_chance;
- case 7: return replicate_on_write;
- case 8: return gc_grace_seconds;
- case 9: return default_validation_class;
- case 10: return key_validation_class;
- case 11: return min_compaction_threshold;
- case 12: return max_compaction_threshold;
- case 13: return merge_shards_chance;
- case 14: return id;
- case 15: return column_metadata;
- case 16: return key_alias;
- case 17: return compaction_strategy;
- case 18: return compaction_strategy_options;
- case 19: return compression_options;
- case 20: return bloom_filter_fp_chance;
- case 21: return caching;
- case 22: return column_aliases;
- case 23: return value_alias;
- case 24: return dclocal_read_repair_chance;
- case 25: return row_cache_size;
- case 26: return key_cache_size;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- case 0: keyspace = (java.lang.CharSequence)value$; break;
- case 1: name = (java.lang.CharSequence)value$; break;
- case 2: column_type = (java.lang.CharSequence)value$; break;
- case 3: comparator_type = (java.lang.CharSequence)value$; break;
- case 4: subcomparator_type = (java.lang.CharSequence)value$; break;
- case 5: comment = (java.lang.CharSequence)value$; break;
- case 6: read_repair_chance = (java.lang.Double)value$; break;
- case 7: replicate_on_write = (java.lang.Boolean)value$; break;
- case 8: gc_grace_seconds = (java.lang.Integer)value$; break;
- case 9: default_validation_class = (java.lang.CharSequence)value$; break;
- case 10: key_validation_class = (java.lang.CharSequence)value$; break;
- case 11: min_compaction_threshold = (java.lang.Integer)value$; break;
- case 12: max_compaction_threshold = (java.lang.Integer)value$; break;
- case 13: merge_shards_chance = (java.lang.Double)value$; break;
- case 14: id = (java.lang.Integer)value$; break;
- case 15: column_metadata = (java.util.List<org.apache.cassandra.db.migration.avro.ColumnDef>)value$; break;
- case 16: key_alias = (java.nio.ByteBuffer)value$; break;
- case 17: compaction_strategy = (java.lang.CharSequence)value$; break;
- case 18: compaction_strategy_options = (java.util.Map<java.lang.CharSequence,java.lang.CharSequence>)value$; break;
- case 19: compression_options = (java.util.Map<java.lang.CharSequence,java.lang.CharSequence>)value$; break;
- case 20: bloom_filter_fp_chance = (java.lang.Double)value$; break;
- case 21: caching = (java.lang.CharSequence)value$; break;
- case 22: column_aliases = (java.util.List<java.nio.ByteBuffer>)value$; break;
- case 23: value_alias = (java.nio.ByteBuffer)value$; break;
- case 24: dclocal_read_repair_chance = (java.lang.Double)value$; break;
- case 25: row_cache_size = (java.lang.Double)value$; break;
- case 26: key_cache_size = (java.lang.Double)value$; break;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-}
View
40 src/gen-java/org/apache/cassandra/db/migration/avro/ColumnDef.java
@@ -1,40 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public class ColumnDef extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"ColumnDef\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"name\",\"type\":\"bytes\"},{\"name\":\"validation_class\",\"type\":\"string\"},{\"name\":\"index_type\",\"type\":[{\"type\":\"enum\",\"name\":\"IndexType\",\"symbols\":[\"KEYS\",\"CUSTOM\"],\"aliases\":[\"org.apache.cassandra.config.avro.IndexType\"]},\"null\"]},{\"name\":\"index_name\",\"type\":[\"string\",\"null\"]},{\"name\":\"index_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null}],\"aliases\":[\"org.apache.cassandra.config.avro.ColumnDef\"]}");
- public java.nio.ByteBuffer name;
- public java.lang.CharSequence validation_class;
- public org.apache.cassandra.db.migration.avro.IndexType index_type;
- public java.lang.CharSequence index_name;
- public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> index_options;
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- case 0: return name;
- case 1: return validation_class;
- case 2: return index_type;
- case 3: return index_name;
- case 4: return index_options;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- case 0: name = (java.nio.ByteBuffer)value$; break;
- case 1: validation_class = (java.lang.CharSequence)value$; break;
- case 2: index_type = (org.apache.cassandra.db.migration.avro.IndexType)value$; break;
- case 3: index_name = (java.lang.CharSequence)value$; break;
- case 4: index_options = (java.util.Map<java.lang.CharSequence,java.lang.CharSequence>)value$; break;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-}
View
31 src/gen-java/org/apache/cassandra/db/migration/avro/DropColumnFamily.java
@@ -1,31 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public class DropColumnFamily extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"DropColumnFamily\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"ksname\",\"type\":\"string\"},{\"name\":\"cfname\",\"type\":\"string\"}]}");
- public java.lang.CharSequence ksname;
- public java.lang.CharSequence cfname;
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- case 0: return ksname;
- case 1: return cfname;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- case 0: ksname = (java.lang.CharSequence)value$; break;
- case 1: cfname = (java.lang.CharSequence)value$; break;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-}
View
28 src/gen-java/org/apache/cassandra/db/migration/avro/DropKeyspace.java
@@ -1,28 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public class DropKeyspace extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"DropKeyspace\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"ksname\",\"type\":\"string\"}]}");
- public java.lang.CharSequence ksname;
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- case 0: return ksname;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- case 0: ksname = (java.lang.CharSequence)value$; break;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-}
View
11 src/gen-java/org/apache/cassandra/db/migration/avro/IndexType.java
@@ -1,11 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public enum IndexType {
- KEYS, CUSTOM
-}
View
43 src/gen-java/org/apache/cassandra/db/migration/avro/KsDef.java
@@ -1,43 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public class KsDef extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"KsDef\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"strategy_class\",\"type\":\"string\"},{\"name\":\"strategy_options\",\"type\":[{\"type\":\"map\",\"values\":\"string\"},\"null\"]},{\"name\":\"replication_factor\",\"type\":[\"int\",\"null\"]},{\"name\":\"cf_defs\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"CfDef\",\"fields\":[{\"name\":\"keyspace\",\"type\":\"string\"},{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"column_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"subcomparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comment\",\"type\":[\"string\",\"null\"]},{\"name\":\"read_repair_chance\",\"type\":[\"double\",\"null\"]},{\"name\":\"replicate_on_write\",\"type\":\"boolean\",\"default\":false},{\"name\":\"gc_grace_seconds\",\"type\":[\"int\",\"null\"]},{\"name\":\"default_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"key_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"min_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"max_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"merge_shards_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"id\",\"type\":[\"int\",\"null\"]},{\"name\":\"column_metadata\",\"type\":[{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"ColumnDef\",\"fields\":[{\"name\":\"name\",\"type\":\"bytes\"},{\"name\":\"validation_class\",\"type\":\"string\"},{\"name\":\"index_type\",\"type\":[{\"type\":\"enum\",\"name\":\"IndexType\",\"symbols\":[\"KEYS\",\"CUSTOM\"],\"aliases\":[\"org.apache.cassandra.config.avro.IndexType\"]},\"null\"]},{\"name\":\"index_name\",\"type\":[\"string\",\"null\"]},{\"name\":\"index_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null}],\"aliases\":[\"org.apache.cassandra.config.avro.ColumnDef\"]}},\"null\"]},{\"name\":\"key_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"compaction_strategy\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"compaction_strategy_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"compression_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"bloom_filter_fp_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"caching\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"column_aliases\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"bytes\"}],\"default\":null},{\"name\":\"value_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"dclocal_read_repair_chance\",\"type\":[\"double\",\"null\"],\"default\":0.0},{\"name\":\"row_cache_size\",\"type\":[\"double\",\"null\"]},{\"name\":\"key_cache_size\",\"type\":[\"double\",\"null\"]}],\"aliases\":[\"org.apache.cassandra.config.avro.CfDef\"]}}},{\"name\":\"durable_writes\",\"type\":\"boolean\",\"default\":true}],\"aliases\":[\"org.apache.cassandra.config.avro.KsDef\"]}");
- public java.lang.CharSequence name;
- public java.lang.CharSequence strategy_class;
- public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> strategy_options;
- public java.lang.Integer replication_factor;
- public java.util.List<org.apache.cassandra.db.migration.avro.CfDef> cf_defs;
- public boolean durable_writes;
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- case 0: return name;
- case 1: return strategy_class;
- case 2: return strategy_options;
- case 3: return replication_factor;
- case 4: return cf_defs;
- case 5: return durable_writes;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- case 0: name = (java.lang.CharSequence)value$; break;
- case 1: strategy_class = (java.lang.CharSequence)value$; break;
- case 2: strategy_options = (java.util.Map<java.lang.CharSequence,java.lang.CharSequence>)value$; break;
- case 3: replication_factor = (java.lang.Integer)value$; break;
- case 4: cf_defs = (java.util.List<org.apache.cassandra.db.migration.avro.CfDef>)value$; break;
- case 5: durable_writes = (java.lang.Boolean)value$; break;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-}
View
40 src/gen-java/org/apache/cassandra/db/migration/avro/Migration.java
@@ -1,40 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public class Migration extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"Migration\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"old_version\",\"type\":{\"type\":\"fixed\",\"name\":\"UUID\",\"namespace\":\"org.apache.cassandra.utils.avro\",\"size\":16}},{\"name\":\"new_version\",\"type\":\"org.apache.cassandra.utils.avro.UUID\"},{\"name\":\"row_mutation\",\"type\":\"bytes\"},{\"name\":\"classname\",\"type\":\"string\"},{\"name\":\"migration\",\"type\":[{\"type\":\"record\",\"name\":\"AddColumnFamily\",\"fields\":[{\"name\":\"cf\",\"type\":{\"type\":\"record\",\"name\":\"CfDef\",\"fields\":[{\"name\":\"keyspace\",\"type\":\"string\"},{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"column_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"subcomparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comment\",\"type\":[\"string\",\"null\"]},{\"name\":\"read_repair_chance\",\"type\":[\"double\",\"null\"]},{\"name\":\"replicate_on_write\",\"type\":\"boolean\",\"default\":false},{\"name\":\"gc_grace_seconds\",\"type\":[\"int\",\"null\"]},{\"name\":\"default_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"key_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"min_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"max_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"merge_shards_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"id\",\"type\":[\"int\",\"null\"]},{\"name\":\"column_metadata\",\"type\":[{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"ColumnDef\",\"fields\":[{\"name\":\"name\",\"type\":\"bytes\"},{\"name\":\"validation_class\",\"type\":\"string\"},{\"name\":\"index_type\",\"type\":[{\"type\":\"enum\",\"name\":\"IndexType\",\"symbols\":[\"KEYS\",\"CUSTOM\"],\"aliases\":[\"org.apache.cassandra.config.avro.IndexType\"]},\"null\"]},{\"name\":\"index_name\",\"type\":[\"string\",\"null\"]},{\"name\":\"index_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null}],\"aliases\":[\"org.apache.cassandra.config.avro.ColumnDef\"]}},\"null\"]},{\"name\":\"key_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"compaction_strategy\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"compaction_strategy_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"compression_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"bloom_filter_fp_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"caching\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"column_aliases\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"bytes\"}],\"default\":null},{\"name\":\"value_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"dclocal_read_repair_chance\",\"type\":[\"double\",\"null\"],\"default\":0.0},{\"name\":\"row_cache_size\",\"type\":[\"double\",\"null\"]},{\"name\":\"key_cache_size\",\"type\":[\"double\",\"null\"]}],\"aliases\":[\"org.apache.cassandra.config.avro.CfDef\"]}}]},{\"type\":\"record\",\"name\":\"DropColumnFamily\",\"fields\":[{\"name\":\"ksname\",\"type\":\"string\"},{\"name\":\"cfname\",\"type\":\"string\"}]},{\"type\":\"record\",\"name\":\"AddKeyspace\",\"fields\":[{\"name\":\"ks\",\"type\":{\"type\":\"record\",\"name\":\"KsDef\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"strategy_class\",\"type\":\"string\"},{\"name\":\"strategy_options\",\"type\":[{\"type\":\"map\",\"values\":\"string\"},\"null\"]},{\"name\":\"replication_factor\",\"type\":[\"int\",\"null\"]},{\"name\":\"cf_defs\",\"type\":{\"type\":\"array\",\"items\":\"CfDef\"}},{\"name\":\"durable_writes\",\"type\":\"boolean\",\"default\":true}],\"aliases\":[\"org.apache.cassandra.config.avro.KsDef\"]}}]},{\"type\":\"record\",\"name\":\"DropKeyspace\",\"fields\":[{\"name\":\"ksname\",\"type\":\"string\"}]},{\"type\":\"record\",\"name\":\"UpdateKeyspace\",\"fields\":[{\"name\":\"oldKs\",\"type\":\"KsDef\"},{\"name\":\"newKs\",\"type\":\"KsDef\"}]},{\"type\":\"record\",\"name\":\"UpdateColumnFamily\",\"fields\":[{\"name\":\"metadata\",\"type\":\"CfDef\"}]}]}]}");
- public org.apache.cassandra.utils.avro.UUID old_version;
- public org.apache.cassandra.utils.avro.UUID new_version;
- public java.nio.ByteBuffer row_mutation;
- public java.lang.CharSequence classname;
- public java.lang.Object migration;
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- case 0: return old_version;
- case 1: return new_version;
- case 2: return row_mutation;
- case 3: return classname;
- case 4: return migration;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- case 0: old_version = (org.apache.cassandra.utils.avro.UUID)value$; break;
- case 1: new_version = (org.apache.cassandra.utils.avro.UUID)value$; break;
- case 2: row_mutation = (java.nio.ByteBuffer)value$; break;
- case 3: classname = (java.lang.CharSequence)value$; break;
- case 4: migration = (java.lang.Object)value$; break;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-}
View
28 src/gen-java/org/apache/cassandra/db/migration/avro/UpdateColumnFamily.java
@@ -1,28 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public class UpdateColumnFamily extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"UpdateColumnFamily\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"metadata\",\"type\":{\"type\":\"record\",\"name\":\"CfDef\",\"fields\":[{\"name\":\"keyspace\",\"type\":\"string\"},{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"column_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"subcomparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comment\",\"type\":[\"string\",\"null\"]},{\"name\":\"read_repair_chance\",\"type\":[\"double\",\"null\"]},{\"name\":\"replicate_on_write\",\"type\":\"boolean\",\"default\":false},{\"name\":\"gc_grace_seconds\",\"type\":[\"int\",\"null\"]},{\"name\":\"default_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"key_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"min_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"max_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"merge_shards_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"id\",\"type\":[\"int\",\"null\"]},{\"name\":\"column_metadata\",\"type\":[{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"ColumnDef\",\"fields\":[{\"name\":\"name\",\"type\":\"bytes\"},{\"name\":\"validation_class\",\"type\":\"string\"},{\"name\":\"index_type\",\"type\":[{\"type\":\"enum\",\"name\":\"IndexType\",\"symbols\":[\"KEYS\",\"CUSTOM\"],\"aliases\":[\"org.apache.cassandra.config.avro.IndexType\"]},\"null\"]},{\"name\":\"index_name\",\"type\":[\"string\",\"null\"]},{\"name\":\"index_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null}],\"aliases\":[\"org.apache.cassandra.config.avro.ColumnDef\"]}},\"null\"]},{\"name\":\"key_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"compaction_strategy\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"compaction_strategy_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"compression_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"bloom_filter_fp_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"caching\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"column_aliases\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"bytes\"}],\"default\":null},{\"name\":\"value_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"dclocal_read_repair_chance\",\"type\":[\"double\",\"null\"],\"default\":0.0},{\"name\":\"row_cache_size\",\"type\":[\"double\",\"null\"]},{\"name\":\"key_cache_size\",\"type\":[\"double\",\"null\"]}],\"aliases\":[\"org.apache.cassandra.config.avro.CfDef\"]}}]}");
- public org.apache.cassandra.db.migration.avro.CfDef metadata;
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- case 0: return metadata;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- case 0: metadata = (org.apache.cassandra.db.migration.avro.CfDef)value$; break;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-}
View
31 src/gen-java/org/apache/cassandra/db/migration/avro/UpdateKeyspace.java
@@ -1,31 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.db.migration.avro;
-
-@SuppressWarnings("all")
-public class UpdateKeyspace extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
- public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"UpdateKeyspace\",\"namespace\":\"org.apache.cassandra.db.migration.avro\",\"fields\":[{\"name\":\"oldKs\",\"type\":{\"type\":\"record\",\"name\":\"KsDef\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"strategy_class\",\"type\":\"string\"},{\"name\":\"strategy_options\",\"type\":[{\"type\":\"map\",\"values\":\"string\"},\"null\"]},{\"name\":\"replication_factor\",\"type\":[\"int\",\"null\"]},{\"name\":\"cf_defs\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"CfDef\",\"fields\":[{\"name\":\"keyspace\",\"type\":\"string\"},{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"column_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"subcomparator_type\",\"type\":[\"string\",\"null\"]},{\"name\":\"comment\",\"type\":[\"string\",\"null\"]},{\"name\":\"read_repair_chance\",\"type\":[\"double\",\"null\"]},{\"name\":\"replicate_on_write\",\"type\":\"boolean\",\"default\":false},{\"name\":\"gc_grace_seconds\",\"type\":[\"int\",\"null\"]},{\"name\":\"default_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"key_validation_class\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"min_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"max_compaction_threshold\",\"type\":[\"null\",\"int\"],\"default\":null},{\"name\":\"merge_shards_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"id\",\"type\":[\"int\",\"null\"]},{\"name\":\"column_metadata\",\"type\":[{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"ColumnDef\",\"fields\":[{\"name\":\"name\",\"type\":\"bytes\"},{\"name\":\"validation_class\",\"type\":\"string\"},{\"name\":\"index_type\",\"type\":[{\"type\":\"enum\",\"name\":\"IndexType\",\"symbols\":[\"KEYS\",\"CUSTOM\"],\"aliases\":[\"org.apache.cassandra.config.avro.IndexType\"]},\"null\"]},{\"name\":\"index_name\",\"type\":[\"string\",\"null\"]},{\"name\":\"index_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null}],\"aliases\":[\"org.apache.cassandra.config.avro.ColumnDef\"]}},\"null\"]},{\"name\":\"key_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"compaction_strategy\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"compaction_strategy_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"compression_options\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"string\"}],\"default\":null},{\"name\":\"bloom_filter_fp_chance\",\"type\":[\"null\",\"double\"],\"default\":null},{\"name\":\"caching\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"column_aliases\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"bytes\"}],\"default\":null},{\"name\":\"value_alias\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"dclocal_read_repair_chance\",\"type\":[\"double\",\"null\"],\"default\":0.0},{\"name\":\"row_cache_size\",\"type\":[\"double\",\"null\"]},{\"name\":\"key_cache_size\",\"type\":[\"double\",\"null\"]}],\"aliases\":[\"org.apache.cassandra.config.avro.CfDef\"]}}},{\"name\":\"durable_writes\",\"type\":\"boolean\",\"default\":true}],\"aliases\":[\"org.apache.cassandra.config.avro.KsDef\"]}},{\"name\":\"newKs\",\"type\":\"KsDef\"}]}");
- public org.apache.cassandra.db.migration.avro.KsDef oldKs;
- public org.apache.cassandra.db.migration.avro.KsDef newKs;
- public org.apache.avro.Schema getSchema() { return SCHEMA$; }
- // Used by DatumWriter. Applications should not call.
- public java.lang.Object get(int field$) {
- switch (field$) {
- case 0: return oldKs;
- case 1: return newKs;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
- // Used by DatumReader. Applications should not call.
- @SuppressWarnings(value="unchecked")
- public void put(int field$, java.lang.Object value$) {
- switch (field$) {
- case 0: oldKs = (org.apache.cassandra.db.migration.avro.KsDef)value$; break;
- case 1: newKs = (org.apache.cassandra.db.migration.avro.KsDef)value$; break;
- default: throw new org.apache.avro.AvroRuntimeException("Bad index");
- }
- }
-}
View
10 src/gen-java/org/apache/cassandra/utils/avro/UUID.java
@@ -1,10 +0,0 @@
-/**
- * Autogenerated by Avro
- *
- * DO NOT EDIT DIRECTLY
- */
-package org.apache.cassandra.utils.avro;
-
-@SuppressWarnings("all")
-@org.apache.avro.specific.FixedSize(16)
-public class UUID extends org.apache.avro.specific.SpecificFixed {}

0 comments on commit 83dd484

Please sign in to comment.