Package org.apache.derby.iapi.sql.dictionary

Examples of org.apache.derby.iapi.sql.dictionary.IndexLister


   * @exception StandardException    Thrown on error
   */
    private void getAffectedIndexes()
    throws StandardException
  {
    IndexLister  indexLister = td.getIndexLister( );

    /* We have to get non-distinct index row generaters and conglom numbers
     * here and then compress it to distinct later because drop column
     * will need to change the index descriptor directly on each index
     * entry in SYSCONGLOMERATES, on duplicate indexes too.
     */
    compressIRGs = indexLister.getIndexRowGenerators();
    numIndexes = compressIRGs.length;
    indexConglomerateNumbers = indexLister.getIndexConglomerateNumbers();

    if (! (compressTable || truncateTable))    // then it's drop column
    {
        ArrayList newCongloms = new ArrayList();
      for (int i = 0; i < compressIRGs.length; i++)
View Full Code Here


   * @exception StandardException    Thrown on error
   */
  private void getAffectedIndexes(Activation activation)
    throws StandardException
  {
    IndexLister  indexLister = td.getIndexLister( );

    /* We have to get non-distinct index row generaters and conglom numbers
     * here and then compress it to distinct later because drop column
     * will need to change the index descriptor directly on each index
     * entry in SYSCONGLOMERATES, on duplicate indexes too.
     */
    compressIRGs = indexLister.getIndexRowGenerators();
    numIndexes = compressIRGs.length;
    indexConglomerateNumbers = indexLister.getIndexConglomerateNumbers();

    if (! (compressTable || truncateTable))    // then it's drop column
    {
      for (int i = 0; i < compressIRGs.length; i++)
      {
View Full Code Here

   * @exception StandardException    Thrown on error
   */
  private void getAffectedIndexes(Activation activation)
    throws StandardException
  {
    IndexLister  indexLister = td.getIndexLister( );

    /* We have to get non-distinct index row generaters and conglom numbers
     * here and then compress it to distinct later because drop column
     * will need to change the index descriptor directly on each index
     * entry in SYSCONGLOMERATES, on duplicate indexes too.
     */
    compressIRGs = indexLister.getIndexRowGenerators();
    numIndexes = compressIRGs.length;
    indexConglomerateNumbers = indexLister.getIndexConglomerateNumbers();

    ArrayList newCongloms = new ArrayList();
    if (! (compressTable || truncateTable))    // then it's drop column
    {
      for (int i = 0; i < compressIRGs.length; i++)
View Full Code Here

  (
    TableDescriptor   td
 
          throws StandardException
  {
    IndexLister  indexLister = td.getIndexLister( );

    indicesToMaintain = indexLister.getDistinctIndexRowGenerators();
    indexConglomerateNumbers = indexLister.getDistinctIndexConglomerateNumbers();
    indexNames = indexLister.getDistinctIndexNames();

    /* Add dependencies on all indexes in the list */
    ConglomerateDescriptor[]  cds = td.getConglomerateDescriptors();
    CompilerContext cc = getCompilerContext();

View Full Code Here

   * @exception StandardException    Thrown on error
   */
  private void getAffectedIndexes(Activation activation)
    throws StandardException
  {
    IndexLister  indexLister = td.getIndexLister( );

    /* We have to get non-distinct index row generaters and conglom numbers
     * here and then compress it to distinct later because drop column
     * will need to change the index descriptor directly on each index
     * entry in SYSCONGLOMERATES, on duplicate indexes too.
     */
    compressIRGs = indexLister.getIndexRowGenerators();
    numIndexes = compressIRGs.length;
    indexConglomerateNumbers = indexLister.getIndexConglomerateNumbers();

    if (! (compressTable || truncateTable))    // then it's drop column
    {
      for (int i = 0; i < compressIRGs.length; i++)
      {
View Full Code Here

   * @exception StandardException    Thrown on error
   */
  private void getAffectedIndexes(Activation activation)
    throws StandardException
  {
    IndexLister  indexLister = td.getIndexLister( );

    /* We have to get non-distinct index row generaters and conglom numbers
     * here and then compress it to distinct later because drop column
     * will need to change the index descriptor directly on each index
     * entry in SYSCONGLOMERATES, on duplicate indexes too.
     */
    compressIRGs = indexLister.getIndexRowGenerators();
    numIndexes = compressIRGs.length;
    indexConglomerateNumbers = indexLister.getIndexConglomerateNumbers();

    if (! (compressTable || truncateTable))    // then it's drop column
    {
      for (int i = 0; i < compressIRGs.length; i++)
      {
View Full Code Here

  (
    TableDescriptor   td
 
          throws StandardException
  {
    IndexLister  indexLister = td.getIndexLister( );

    indicesToMaintain = indexLister.getDistinctIndexRowGenerators();
    indexConglomerateNumbers = indexLister.getDistinctIndexConglomerateNumbers();
    indexNames = indexLister.getDistinctIndexNames();

    /* Add dependencies on all indexes in the list */
    ConglomerateDescriptor[]  cds = td.getConglomerateDescriptors();
    CompilerContext cc = getCompilerContext();

View Full Code Here

  (
    TableDescriptor   td
 
          throws StandardException
  {
    IndexLister  indexLister = td.getIndexLister( );

    indicesToMaintain = indexLister.getDistinctIndexRowGenerators();
    indexConglomerateNumbers = indexLister.getDistinctIndexConglomerateNumbers();
    indexNames = indexLister.getDistinctIndexNames();

    /* Add dependencies on all indexes in the list */
    ConglomerateDescriptor[]  cds = td.getConglomerateDescriptors();
    CompilerContext cc = getCompilerContext();

View Full Code Here

   * @exception StandardException    Thrown on error
   */
  private void getAffectedIndexes(Activation activation)
    throws StandardException
  {
    IndexLister  indexLister = td.getIndexLister( );

    /* We have to get non-distinct index row generaters and conglom numbers
     * here and then compress it to distinct later because drop column
     * will need to change the index descriptor directly on each index
     * entry in SYSCONGLOMERATES, on duplicate indexes too.
     */
    compressIRGs = indexLister.getIndexRowGenerators();
    numIndexes = compressIRGs.length;
    indexConglomerateNumbers = indexLister.getIndexConglomerateNumbers();

    ArrayList newCongloms = new ArrayList();
    if (! (compressTable || truncateTable))    // then it's drop column
    {
      for (int i = 0; i < compressIRGs.length; i++)
View Full Code Here

   * @exception StandardException    Thrown on error
   */
  private void getAffectedIndexes(Activation activation)
    throws StandardException
  {
    IndexLister  indexLister = td.getIndexLister( );

    /* We have to get non-distinct index row generaters and conglom numbers
     * here and then compress it to distinct later because drop column
     * will need to change the index descriptor directly on each index
     * entry in SYSCONGLOMERATES, on duplicate indexes too.
     */
    compressIRGs = indexLister.getIndexRowGenerators();
    numIndexes = compressIRGs.length;
    indexConglomerateNumbers = indexLister.getIndexConglomerateNumbers();

    if (! (compressTable || truncateTable))    // then it's drop column
    {
      for (int i = 0; i < compressIRGs.length; i++)
      {
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.sql.dictionary.IndexLister

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.