Demonstrates how to delete a column family.
503139
public void deleteColumnFamily() {
    System.out.println("\nDelete column family: " + COLUMN_FAMILY_2);
    // [START bigtable_delete_family]
    // Deletes a column family.
    try {
      ModifyColumnFamiliesRequest deleted =
          ModifyColumnFamiliesRequest.of(tableId).dropFamily(COLUMN_FAMILY_2);
      adminClient.modifyFamilies(deleted);
      System.out.printf("Column family %s deleted successfully%n", COLUMN_FAMILY_2);
    } catch (NotFoundException e) {
      System.err.println("Failed to delete a non-existent column family: " + e.getMessage());
    }
    // [END bigtable_delete_family]
  }
482312
public void delete(HTableInterface hTable, Object rowKey, String columnFamily)
    {
        try
        {
            byte[] rowBytes = HBaseUtils.getBytes(rowKey);
            Delete delete = new Delete(rowBytes);
            byte[] family = HBaseUtils.getBytes(columnFamily);
            delete.deleteFamily(family);
            hTable.delete(delete);
        }
        catch (IOException e)
        {
            log.error("Error while delete on hbase for : " + rowKey);
            throw new PersistenceException(e);
        }
    }
778548
public void delete(String cfName, WriteOptions writeOptions, String key)
            throws RocksDbException {
        if (cfName == null) {
            cfName = DEFAULT_COLUMN_FAMILY;
        }
        try {
            delete(getColumnFamilyHandle(cfName), writeOptions,
                    key.getBytes(StandardCharsets.UTF_8));
        } catch (RocksDbException.ColumnFamilyNotExists e) {
            throw new RocksDbException.ColumnFamilyNotExists(cfName);
        }
    }
430621
def cascade_delete(self, name):
    ""
    for child in self[name].child_tables:
      self.cascade_delete(child.name)
    del self[name]
348788
def delete(self):
        
        modification = table_admin_v2_pb2.ModifyColumnFamiliesRequest.Modification(
            id=self.column_family_id, drop=True
        )

        client = self._table._instance._client
        # data it contains are the GC rule and the column family ID already
        # stored on this instance.
        client.table_admin_client.modify_column_families(
            self._table.name, [modification]
        )
467790
public void unGroup(TreeTableColumn<S, ?>... treeTableColumns) {
        try {
            lock.lock();
            if (groupOrder.size() > 0) {
                groupOrder.removeAll(treeTableColumns);
                List<TreeTableColumn<S, ?>> grouped = new ArrayList<>();
                grouped.addAll(groupOrder);
                groupOrder.clear();
                JFXUtilities.runInFXAndWait(() -> {
                    ArrayList<TreeTableColumn<S, ?>> sortOrder = new ArrayList<>();
                    sortOrder.addAll(getSortOrder());
                    // needs to reset the children in order to update the parent
                    List children = Arrays.asList(originalRoot.getChildren().toArray());
                    originalRoot.getChildren().clear();
                    originalRoot.getChildren().setAll(children);
                    // reset the original root
                    internalSetRoot = true;
                    setRoot(originalRoot);
                    internalSetRoot = false;
                    getSelectionModel().select(0);
                    getSortOrder().addAll(sortOrder);
                    if (grouped.size() != 0) {
                        refreshGroups(grouped);
                    }
                });
            }
        } finally {
            lock.unlock();
        }
    }
1148454
function (column) {
            if (isString(column.type) && column.type.match(/string/i) && column.text) {
                delete column["default"];
            }
            return this._super(arguments, [column]);
        }
864880
def drop_columns(self, col):
        
        try:
            self.cleaned_data.drop(col, axis=1, inplace=True)
        except Exception as e:
            raise e
953619
def removeColumns(self, columnNames):
        
        model = self.tableView.model()

        if model is not None:
            model.removeDataFrameColumns(columnNames)

        self.removeColumnButton.setChecked(False)
1090760
def drop_column(self, name):
        
        name = self._normalize_identifier(name)
        del self._columns[name]

        return self
944637
def showRemoveColumnDialog(self, triggered):
        
        if triggered:
            model = self.tableView.model()
            if model is not None:
                columns = model.dataFrameColumns()
                dialog = RemoveAttributesDialog(columns, self)
                dialog.accepted.connect(self.removeColumns)
                dialog.rejected.connect(self.uncheckButton)
                dialog.show()
1365973
function removeColumn(values, col, colsPerRow) {
  var n = 0;
  for (var i = 0, l = values.length; i < l; i++) {
    if (i % colsPerRow !== col) values[n++] = values[i];
  }
  values.length = n;
}
414375
protected void delete(ColumnFamilyHandle cfh, WriteOptions writeOptions, byte[] key)
            throws RocksDbException {
        if (readOnly) {
            throw new RocksDbException.ReadOnlyException("delete");
        }
        if (cfh == null) {
            throw new RocksDbException.ColumnFamilyNotExists();
        }
        try {
            rocksDb.delete(cfh, writeOptions != null ? writeOptions : this.writeOptions, key);
        } catch (Exception e) {
            throw e instanceof RocksDbException ? (RocksDbException) e : new RocksDbException(e);
        }
    }
996102
public void delete(WriteOptions writeOptions, String key) throws RocksDbException {
        delete(DEFAULT_COLUMN_FAMILY, writeOptions, key);
    }
707240
@Override
  public void deleteRow(K key) {
    createMutator().delete(key, getColumnFamily(), null, null);
  }
581476
function removeProcessedColumns(columnsToResize, columnsProcessed) {
    for (var _i = 0, columnsProcessed_1 = columnsProcessed; _i < columnsProcessed_1.length; _i++) {
        var column = columnsProcessed_1[_i];
        var index = columnsToResize.indexOf(column);
        columnsToResize.splice(index, 1);
    }
}
1001484
def remove_column(self, key):
        
        if isinstance(key, int):
            index = key
            key = self.row_columns[key]
        else:
            index = self._column_index[key]
        for row in self.table:
            row.pop(index)
        self.row_columns = self.row_columns[:index] + self.row_columns[
                                                      index + 1:]
        self.pop_column(key)