interface/thrift/gen-java/org/apache/cassandra/thrift/KsDef.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 NAME;
        case 2: 
          return STRATEGY_CLASS;
        case 3: 
          return STRATEGY_OPTIONS;
        case 4: 
          return REPLICATION_FACTOR;
        case 5: 
          return CF_DEFS;
        case 6: 
          return DURABLE_WRITES;
        default:
          return null;
      }
    }
public static _Fields findByThriftId ( int fieldId ) { switch ( fieldId ) { case 1 : return NAME ; case 2 : return STRATEGY_CLASS ; case 3 : return STRATEGY_OPTIONS ; case 4 : return REPLICATION_FACTOR ; case 5 : return CF_DEFS ; case 6 : return DURABLE_WRITES ; 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 .
// NAME // STRATEGY_CLASS // STRATEGY_OPTIONS // REPLICATION_FACTOR // CF_DEFS // DURABLE_WRITES