private static void validateSoqlSupportedSelectItem(SelectItem selectItem) throws UnsupportedOperationException { if (selectItem.hasFunction()) { throw new UnsupportedOperationException("Function select items not supported: " + selectItem); } if (selectItem.getSubQuerySelectItem() != null) { throw new UnsupportedOperationException("Subquery select items not supported: " + selectItem); } }
private static void validateSoqlSupportedSelectItem(SelectItem selectItem) throws UnsupportedOperationException { if (selectItem.hasFunction()) { throw new UnsupportedOperationException("Function select items not supported: " + selectItem); } if (selectItem.getSubQuerySelectItem() != null) { throw new UnsupportedOperationException("Subquery select items not supported: " + selectItem); } }
final Object operand = whereItem.getOperand(); if (column == null || operand == null || !column.isPrimaryKey() || selectItem.hasFunction()) { throw new IllegalStateException( "HBase currently only supports deleting items by their row key. Violated by where item: "
final Object operand = whereItem.getOperand(); if (column == null || operand == null || !column.isPrimaryKey() || selectItem.hasFunction()) { throw new IllegalStateException( "HBase currently only supports deleting items by their row key. Violated by where item: "
if (column == null || operand == null || selectItem.hasFunction()) { throw new IllegalStateException( "Salesforce only allows deletion of records by their specific IDs. Violated by where item: "
if (column == null || operand == null || selectItem.hasFunction()) { throw new IllegalStateException( "Salesforce only allows deletion of records by their specific IDs. Violated by where item: "
if (selectItem.hasFunction()) {
if (selectItem.hasFunction()) {
if (selectItem.hasFunction() || selectItem.getColumn() == null) { allSelectItemsAreColumns = false; break;
if (selectItem.hasFunction() || selectItem.getColumn() == null) { allSelectItemsAreColumns = false; break;
if (selectItem.hasFunction() || selectItem.getColumn() == null) { allSelectItemsAreColumns = false; break;
if (selectItem.hasFunction() || selectItem.getColumn() == null) { allSelectItemsAreColumns = false; break;
final FilterItem whereItem = whereItems.get(0); final SelectItem selectItem = whereItem.getSelectItem(); if (!whereItem.isCompoundFilter() && selectItem != null && !selectItem.hasFunction() && selectItem.getColumn() != null) { final Column column = selectItem.getColumn();
final FilterItem whereItem = whereItems.get(0); final SelectItem selectItem = whereItem.getSelectItem(); if (!whereItem.isCompoundFilter() && selectItem != null && !selectItem.hasFunction() && selectItem.getColumn() != null) { final Column column = selectItem.getColumn();