interface/thrift/gen-java/org/apache/cassandra/thrift/CfDef.java
/**
     * Find the _Fields constant that matches fieldId, or null if its not found.
     */
Find the _Fields constant that matches fieldId, or null if its not found.
Find the _Fields constant that matches fieldId or null if its not found .
public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: 
          return KEYSPACE;
        case 2: 
          return NAME;
        case 3: 
          return COLUMN_TYPE;
        case 5: 
          return COMPARATOR_TYPE;
        case 6: 
          return SUBCOMPARATOR_TYPE;
        case 8: 
          return COMMENT;
        case 12: 
          return READ_REPAIR_CHANCE;
        case 13: 
          return COLUMN_METADATA;
        case 14: 
          return GC_GRACE_SECONDS;
        case 15: 
          return DEFAULT_VALIDATION_CLASS;
        case 16: 
          return ID;
        case 17: 
          return MIN_COMPACTION_THRESHOLD;
        case 18: 
          return MAX_COMPACTION_THRESHOLD;
        case 24: 
          return REPLICATE_ON_WRITE;
        case 25: 
          return MERGE_SHARDS_CHANCE;
        case 26: 
          return KEY_VALIDATION_CLASS;
        case 28: 
          return KEY_ALIAS;
        case 29: 
          return COMPACTION_STRATEGY;
        case 30: _OPTIONS
          return COMPACTION_STRATEGY_OPTIONS;
        case 32: 
          return COMPRESSION_OPTIONS;
        case 33: 
          return BLOOM_FILTER_FP_CHANCE;
        case 34: 
          return CACHING;
        default:
          return null;
      }
    }
public static _Fields findByThriftId ( int fieldId ) { switch ( fieldId ) { case 1 : return KEYSPACE ; case 2 : return NAME ; case 3 : return COLUMN_TYPE ; case 5 : return COMPARATOR_TYPE ; case 6 : return SUBCOMPARATOR_TYPE ; case 8 : return COMMENT ; case 12 : return READ_REPAIR_CHANCE ; case 13 : return COLUMN_METADATA ; case 14 : return GC_GRACE_SECONDS ; case 15 : return DEFAULT_VALIDATION_CLASS ; case 16 : return ID ; case 17 : return MIN_COMPACTION_THRESHOLD ; case 18 : return MAX_COMPACTION_THRESHOLD ; case 24 : return REPLICATE_ON_WRITE ; case 25 : return MERGE_SHARDS_CHANCE ; case 26 : return KEY_VALIDATION_CLASS ; case 28 : return KEY_ALIAS ; case 29 : return COMPACTION_STRATEGY ; case 30 : return COMPACTION_STRATEGY_OPTIONS ; case 32 : return COMPRESSION_OPTIONS ; case 33 : return BLOOM_FILTER_FP_CHANCE ; case 34 : return CACHING ; default : return null ; } }
Find the _Fields constant that matches fieldId, or null if its not found.
Find the _Fields constant that matches fieldId or null if its not found .
// KEYSPACE // NAME // COLUMN_TYPE // COMPARATOR_TYPE // SUBCOMPARATOR_TYPE // COMMENT // READ_REPAIR_CHANCE // COLUMN_METADATA // GC_GRACE_SECONDS // DEFAULT_VALIDATION_CLASS // ID // MIN_COMPACTION_THRESHOLD // MAX_COMPACTION_THRESHOLD // REPLICATE_ON_WRITE // MERGE_SHARDS_CHANCE // KEY_VALIDATION_CLASS // KEY_ALIAS // COMPACTION_STRATEGY // COMPACTION_STRATEGY_OPTIONS // COMPRESSION_OPTIONS // BLOOM_FILTER_FP_CHANCE // CACHING