@Test public void testIndexListCount() { int count = handler.getIndexListCount(); assertEquals(2, count); }
@Override public int getIndexListCount() { if (!placeholderIndexes.isEmpty()) return placeholderIndexes.size(); else { LOGGER.error("ERROR :Index List is empty"); throw new BlkchnException("ERROR :Index List is empty"); } }
QueryPlaceholderHandler implements PlaceholderHandler { @Override public int getIndexListCount() { if (!placeholderIndexes.isEmpty()) return placeholderIndexes.size(); else { LOGGER.error("ERROR :Index List is empty"); throw new BlkchnException("ERROR :Index List is empty"); } } }
QueryPlaceholderHandler implements PlaceholderHandler { @Override public int getIndexListCount() { if (!placeholderIndexes.isEmpty()) return placeholderIndexes.size(); else { LOGGER.error("ERROR :Index List is empty"); throw new BlkchnException("ERROR :Index List is empty"); } } QueryPlaceholderHandler(LogicalPlan logicalPlan); }
QueryPlaceholderHandler implements PlaceholderHandler { @Override public int getIndexListCount() { if (!placeholderIndexes.isEmpty()) return placeholderIndexes.size(); else { LOGGER.error("ERROR :Index List is empty"); throw new BlkchnException("ERROR :Index List is empty"); } } QueryPlaceholderHandler(LogicalPlan logicalPlan); @Override void setPlaceholderIndex(); @Override void setPlaceholderIndex(TreeNode node); @Override void alterLogicalPlan(Object[] placeholderValues); @Override void setPlaceholderValue(TreeNode node); @Override boolean isIndexListEmpty(); @Override int getIndexListCount(); }
QueryPlaceholderHandler implements PlaceholderHandler { @Override public int getIndexListCount() { if (!placeholderIndexes.isEmpty()) return placeholderIndexes.size(); else { LOGGER.error("ERROR :Index List is empty"); throw new BlkchnException("ERROR :Index List is empty"); } } QueryPlaceholderHandler(LogicalPlan logicalPlan); @Override void setPlaceholderIndex(); @Override void setPlaceholderIndex(TreeNode node); @Override void alterLogicalPlan(Object[] placeholderValues); @Override void setPlaceholderValue(TreeNode node); @Override boolean isIndexListEmpty(); @Override int getIndexListCount();  }