Package org.apache.phoenix.compile

Examples of org.apache.phoenix.compile.ExplainPlan


                    return PhoenixParameterMetaData.EMPTY_PARAMETER_META_DATA;
                }
               
                @Override
                public ExplainPlan getExplainPlan() throws SQLException {
                    return new ExplainPlan(Collections.singletonList("ALTER INDEX"));
                }
            };
        }
View Full Code Here


                    return PhoenixParameterMetaData.EMPTY_PARAMETER_META_DATA;
                }

                @Override
                public ExplainPlan getExplainPlan() throws SQLException {
                    return new ExplainPlan(Collections.singletonList("ALTER TABLE ADD COLUMN"));
                }
            };
        }
View Full Code Here

                    return new PhoenixParameterMetaData(0);
                }

                @Override
                public ExplainPlan getExplainPlan() throws SQLException {
                    return new ExplainPlan(Collections.singletonList("ALTER TABLE DROP COLUMN"));
                }
            };
        }
View Full Code Here

                    return PhoenixParameterMetaData.EMPTY_PARAMETER_META_DATA;
                }

                @Override
                public ExplainPlan getExplainPlan() throws SQLException {
                    return new ExplainPlan(Collections.singletonList("SHOW TABLES"));
                }
            };
        }
View Full Code Here

   
    @Override
    public ExplainPlan getExplainPlan() {
        List<String> planSteps = Lists.newArrayListWithExpectedSize(5);
        scanner.explain(planSteps);
        return new ExplainPlan(planSteps);
    }
View Full Code Here

public class DegenerateScanner implements Scanner {
    private final ExplainPlan explainPlan;
    private final RowProjector projector;
   
    public DegenerateScanner(TableRef table, RowProjector projector) {
        explainPlan = new ExplainPlan(Collections.singletonList("DEGENERATE SCAN OVER " + table.getTable().getName().getString()));
        this.projector = projector;
    }
View Full Code Here

                    return PhoenixParameterMetaData.EMPTY_PARAMETER_META_DATA;
                }

                @Override
                public ExplainPlan getExplainPlan() throws SQLException {
                    return new ExplainPlan(Collections.singletonList("DROP TABLE"));
                }

                @Override
                public PhoenixConnection getConnection() {
                    return stmt.getConnection();
View Full Code Here

                    return PhoenixParameterMetaData.EMPTY_PARAMETER_META_DATA;
                }
               
                @Override
                public ExplainPlan getExplainPlan() throws SQLException {
                    return new ExplainPlan(Collections.singletonList("DROP INDEX"));
                }

                @Override
                public PhoenixConnection getConnection() {
                    return stmt.getConnection();
View Full Code Here

                    return PhoenixParameterMetaData.EMPTY_PARAMETER_META_DATA;
                }
               
                @Override
                public ExplainPlan getExplainPlan() throws SQLException {
                    return new ExplainPlan(Collections.singletonList("ALTER INDEX"));
                }

                @Override
                public PhoenixConnection getConnection() {
                    return stmt.getConnection();
View Full Code Here

                    return PhoenixParameterMetaData.EMPTY_PARAMETER_META_DATA;
                }

                @Override
                public ExplainPlan getExplainPlan() throws SQLException {
                    return new ExplainPlan(Collections.singletonList("ALTER " + getTableType() + " ADD COLUMN"));
                }

                @Override
                public PhoenixConnection getConnection() {
                    return stmt.getConnection();
View Full Code Here

TOP

Related Classes of org.apache.phoenix.compile.ExplainPlan

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.