public TColumnFamilyDescriptor setCacheIndexesOnWrite(boolean cacheIndexesOnWrite) {
    this.cacheIndexesOnWrite = cacheIndexesOnWrite;
    setCacheIndexesOnWriteIsSet(true);
    return this;
  }
Returns true if field cacheDataOnWrite is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnFamilyDescriptor.java