/** * Get ColumnFamily metadata by its identifier * * @param cfId The ColumnFamily identifier * * @return metadata about ColumnFamily */ public CFMetaData getCFMetaData(UUID cfId) { Pair<String,String> cf = getCF(cfId); return (cf == null) ? null : getCFMetaData(cf.left, cf.right); }
public UUID deserializeCfId(DataInput in, int version) throws IOException { UUID cfId = UUIDSerializer.serializer.deserialize(in, version); if (Schema.instance.getCF(cfId) == null) throw new UnknownColumnFamilyException("Couldn't find cfId=" + cfId, cfId); return cfId; }
/** * Get ColumnFamily metadata by its identifier * * @param cfId The ColumnFamily identifier * * @return metadata about ColumnFamily */ public CFMetaData getCFMetaData(UUID cfId) { Pair<String,String> cf = getCF(cfId); return (cf == null) ? null : getCFMetaData(cf.left, cf.right); }
/** * Returns a ColumnFamilyStore by cfId if it exists, null otherwise * Differently from others, this method does not throw exception if the table does not exist. */ public static ColumnFamilyStore getIfExists(UUID cfId) { Pair<String, String> kscf = Schema.instance.getCF(cfId); if (kscf == null) return null; Keyspace keyspace = Keyspace.open(kscf.left); if (keyspace == null) return null; return keyspace.getColumnFamilyStore(cfId); }
/** * Get ColumnFamily metadata by its identifier * * @param cfId The ColumnFamily identifier * * @return metadata about ColumnFamily */ public CFMetaData getCFMetaData(UUID cfId) { Pair<String,String> cf = getCF(cfId); return (cf == null) ? null : getCFMetaData(cf.left, cf.right); }
/** * Returns a ColumnFamilyStore by cfId if it exists, null otherwise * Differently from others, this method does not throw exception if the table does not exist. */ public static ColumnFamilyStore getIfExists(UUID cfId) { Pair<String, String> kscf = Schema.instance.getCF(cfId); if (kscf == null) return null; Keyspace keyspace = Keyspace.open(kscf.left); if (keyspace == null) return null; return keyspace.getColumnFamilyStore(cfId); }
/** * Get ColumnFamily metadata by its identifier * * @param cfId The ColumnFamily identifier * * @return metadata about ColumnFamily */ public CFMetaData getCFMetaData(UUID cfId) { Pair<String,String> cf = getCF(cfId); return (cf == null) ? null : getCFMetaData(cf.left, cf.right); }
/** * Returns a ColumnFamilyStore by cfId if it exists, null otherwise * Differently from others, this method does not throw exception if the table does not exist. */ public static ColumnFamilyStore getIfExists(UUID cfId) { Pair<String, String> kscf = Schema.instance.getCF(cfId); if (kscf == null) return null; Keyspace keyspace = Keyspace.open(kscf.left); if (keyspace == null) return null; return keyspace.getColumnFamilyStore(cfId); }
/** * Get ColumnFamily metadata by its identifier * * @param cfId The ColumnFamily identifier * * @return metadata about ColumnFamily */ public CFMetaData getCFMetaData(UUID cfId) { Pair<String,String> cf = getCF(cfId); return (cf == null) ? null : getCFMetaData(cf.left, cf.right); }
Pair<String,String> pair = Schema.instance.getCF(dirtyCFId); if (pair == null)
Pair<String,String> pair = Schema.instance.getCF(dirtyCFId); if (pair == null)
Pair<String,String> pair = Schema.instance.getCF(dirtyCFId); if (pair == null)
Pair<String,String> pair = Schema.instance.getCF(dirtyCFId); if (pair == null)
for (ColumnFamily columnFamily : replayFilter.filter(mutation)) if (Schema.instance.getCF(columnFamily.id()) == null) continue; // dropped
Pair<String, String> kscf = Schema.instance.getCF(cfId); ColumnFamilyStore cfs = null; if (kscf != null)
for (PartitionUpdate update : commitLogReplayer.replayFilter.filter(mutation)) if (Schema.instance.getCF(update.metadata().cfId) == null) continue; // dropped
for (PartitionUpdate update : commitLogReplayer.replayFilter.filter(mutation)) if (Schema.instance.getCF(update.metadata().cfId) == null) continue; // dropped
for (PartitionUpdate update : commitLogReplayer.replayFilter.filter(mutation)) if (Schema.instance.getCF(update.metadata().cfId) == null) continue; // dropped
Pair<String, String> kscf = Schema.instance.getCF(cfId); ColumnFamilyStore cfs = null; if (kscf != null)
Pair<String, String> kscf = Schema.instance.getCF(cfId); ColumnFamilyStore cfs = null; if (kscf != null)