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

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


    ConglomerateDescriptor cgd = td.getConglomerateDescriptor(cid);
    td.getConglomerateDescriptorList().dropConglomerateDescriptorByUUID(cgd.getUUID());
    //add the new conglomerate descriptor to the table descriptor
    cgd = getDataDictionary().getDataDescriptorGenerator().newConglomerateDescriptor(conglomId, null, false, null, false, null, td.getUUID(),
    td.getSchemaDescriptor().getUUID());
    ConglomerateDescriptorList conglomList = td.getConglomerateDescriptorList();
    conglomList.add(cgd);

    //reset the heap conglomerate number in table descriptor to -1 so it will be refetched next time with the new value
    td.resetHeapConglomNumber();

    if(dropAndRedeclare)
View Full Code Here


          Orderable.ORDER_OP_EQUALS,
         false,
          false,
          false);

    ConglomerateDescriptorList cdl = new ConglomerateDescriptorList();
    getDescriptorViaHeap(null, scanQualifier, ti, null, cdl);

    int size = cdl.size();
    ConglomerateDescriptor[] cda = new ConglomerateDescriptor[size];
    for (int index = 0; index < size; index++)
      cda[index] = (ConglomerateDescriptor) cdl.get(index);

    return cda;
  }
View Full Code Here

   * @exception StandardException    Thrown on failure
   */
  private void getConglomerateDescriptorsScan(TableDescriptor td)
      throws StandardException
  {
    ConglomerateDescriptorList cdl = td.getConglomerateDescriptorList();

    ExecIndexRow      keyRow3 = null;
    DataValueDescriptor    tableIDOrderable;
    TabInfoImpl          ti = coreInfo[SYSCONGLOMERATES_CORE_NUM];

View Full Code Here

    ConglomerateDescriptor cgd = td.getConglomerateDescriptor(cid);
    td.getConglomerateDescriptorList().dropConglomerateDescriptorByUUID(cgd.getUUID());
    //add the new conglomerate descriptor to the table descriptor
    cgd = getDataDictionary().getDataDescriptorGenerator().newConglomerateDescriptor(conglomId, null, false, null, false, null, td.getUUID(),
    td.getSchemaDescriptor().getUUID());
    ConglomerateDescriptorList conglomList = td.getConglomerateDescriptorList();
    conglomList.add(cgd);

    //reset the heap conglomerate number in table descriptor to -1 so it will be refetched next time with the new value
    td.resetHeapConglomNumber();

    if(dropAndRedeclare)
View Full Code Here

          Orderable.ORDER_OP_EQUALS,
         false,
          false,
          false);

    ConglomerateDescriptorList cdl = new ConglomerateDescriptorList();
    getDescriptorViaHeap(scanQualifier,
                 ti,
                 null,
                 cdl);

    int size = cdl.size();
    ConglomerateDescriptor[] cda = new ConglomerateDescriptor[size];
    for (int index = 0; index < size; index++)
      cda[index] = (ConglomerateDescriptor) cdl.get(index);

    return cda;
  }
View Full Code Here

   * @exception StandardException    Thrown on failure
   */
  private void getConglomerateDescriptorsScan(TableDescriptor td)
      throws StandardException
  {
    ConglomerateDescriptorList cdl = td.getConglomerateDescriptorList();

    ExecIndexRow      keyRow3 = null;
    DataValueDescriptor    tableIDOrderable;
    TabInfo          ti = coreInfo[SYSCONGLOMERATES_CORE_NUM];

View Full Code Here

          Orderable.ORDER_OP_EQUALS,
         false,
          false,
          false);

    ConglomerateDescriptorList cdl = new ConglomerateDescriptorList();
    getDescriptorViaHeap(null, scanQualifier, ti, null, cdl);

    int size = cdl.size();
    ConglomerateDescriptor[] cda = new ConglomerateDescriptor[size];
    for (int index = 0; index < size; index++)
      cda[index] = (ConglomerateDescriptor) cdl.get(index);

    return cda;
  }
View Full Code Here

   * @exception StandardException    Thrown on failure
   */
  private void getConglomerateDescriptorsScan(TableDescriptor td)
      throws StandardException
  {
    ConglomerateDescriptorList cdl = td.getConglomerateDescriptorList();

    ExecIndexRow      keyRow3 = null;
    DataValueDescriptor    tableIDOrderable;
    TabInfoImpl          ti = coreInfo[SYSCONGLOMERATES_CORE_NUM];

View Full Code Here

          Orderable.ORDER_OP_EQUALS,
         false,
          false,
          false);

    ConglomerateDescriptorList cdl = new ConglomerateDescriptorList();
    getDescriptorViaHeap(scanQualifier,
                 ti,
                 null,
                 cdl);

    int size = cdl.size();
    ConglomerateDescriptor[] cda = new ConglomerateDescriptor[size];
    for (int index = 0; index < size; index++)
      cda[index] = (ConglomerateDescriptor) cdl.get(index);

    return cda;
  }
View Full Code Here

   * @exception StandardException    Thrown on failure
   */
  private void getConglomerateDescriptorsScan(TableDescriptor td)
      throws StandardException
  {
    ConglomerateDescriptorList cdl = td.getConglomerateDescriptorList();

    ExecIndexRow      keyRow3 = null;
    DataValueDescriptor    tableIDOrderable;
    TabInfo          ti = coreInfo[SYSCONGLOMERATES_CORE_NUM];

View Full Code Here

TOP

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

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.