@Test public void testIndexListCount() { int count = handler.getIndexListCount(); assertEquals(3, 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"); } }
InsertPlaceholderHandler 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"); } } }
InsertPlaceholderHandler 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"); } } InsertPlaceholderHandler(LogicalPlan logicalPlan); }
InsertPlaceholderHandler 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"); } } InsertPlaceholderHandler(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(); }
InsertPlaceholderHandler 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"); } } InsertPlaceholderHandler(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();  }