in harry-core/src/harry/visitors/OperationExecutor.java [32:61]
default CompiledStatement perform(OpSelectors.OperationKind op, long lts, long pd, long cd, long opId)
{
switch (op)
{
// TODO: switch to EnumMap
// TODO: pluggable capabilities; OperationKind can/should bear its own logic
case INSERT:
return insert(lts, pd, cd, opId);
case UPDATE:
return update(lts, pd, cd, opId);
case DELETE_ROW:
return deleteRow(lts, pd, cd, opId);
case INSERT_WITH_STATICS:
return insertWithStatics(lts, pd, cd, opId);
case UPDATE_WITH_STATICS:
return updateWithStatics(lts, pd, cd, opId);
case DELETE_PARTITION:
return deletePartition(lts, pd, opId);
case DELETE_COLUMN:
return deleteColumn(lts, pd, cd, opId);
case DELETE_COLUMN_WITH_STATICS:
return deleteColumnWithStatics(lts, pd, cd, opId);
case DELETE_RANGE:
return deleteRange(lts, pd, opId);
case DELETE_SLICE:
return deleteSlice(lts, pd, opId);
default:
throw new IllegalStateException();
}
}