@Override
    protected void checkCompatibility(DataType fieldType) {
        if (!(fieldType instanceof TensorDataType)) {
            throw new UnsupportedOperationException("Expected tensor type, got " + fieldType.getName() + ".");
        }
    }
An update used to add cells to a sparse or mixed tensor (has at least one mapped dimension).
document/src/main/java/com/yahoo/document/update/TensorAddUpdate.java