Package org.apache.derby.iapi.types

Examples of org.apache.derby.iapi.types.DataValueDescriptor


   */
  public void  dropViewDescriptor(ViewDescriptor vd,
                   TransactionController tc)
    throws StandardException
  {
    DataValueDescriptor    viewIdOrderable;
    TabInfoImpl          ti = getNonCoreTI(SYSVIEWS_CATALOG_NUM);

    /* Use aliasNameOrderable in both start
     * and stop position for scan.
     */
 
View Full Code Here


   */
  private FileInfoDescriptor
  getFileInfoDescriptorIndex2Scan(UUID id)
        throws StandardException
  {
    DataValueDescriptor      idOrderable;
    TabInfoImpl            ti = getNonCoreTI(SYSFILES_CATALOG_NUM);
    idOrderable = getIDValueAsCHAR(id);

    /* Set up the start/stop position for the scan */
    ExecIndexRow keyRow = exFactory.getIndexableRow(1);
View Full Code Here

  private FileInfoDescriptor getFileInfoDescriptorIndex1Scan(
                    UUID schemaId,
                    String name)
        throws StandardException
  {
    DataValueDescriptor      schemaIDOrderable;
    DataValueDescriptor      nameOrderable;
    TabInfoImpl            ti = getNonCoreTI(SYSFILES_CATALOG_NUM);

    nameOrderable = new SQLVarchar(name);
    schemaIDOrderable = getIDValueAsCHAR(schemaId);
View Full Code Here

  public void  dropFileInfoDescriptor(FileInfoDescriptor fid)
            throws StandardException
  {
    ConglomerateController  heapCC;
    ExecIndexRow      keyRow1 = null;
    DataValueDescriptor    idOrderable;
    TabInfoImpl          ti = getNonCoreTI(SYSFILES_CATALOG_NUM);
    TransactionController   tc = getTransactionExecute();
   
    /* Use tableIdOrderable and schemaIdOrderable in both start
     * and stop position for index 1 scan.
View Full Code Here

   */
  private SPSDescriptor getSPSDescriptorIndex2Scan(
                    String stmtUUID)
        throws StandardException
  {
    DataValueDescriptor      stmtIDOrderable;
    TabInfoImpl            ti = getNonCoreTI(SYSSTATEMENTS_CATALOG_NUM);

    /* Use stmtIdOrderable in both start
     * and stop position for scan.
     */
 
View Full Code Here

  private SPSDescriptor getSPSDescriptorIndex1Scan(
                    String stmtName,
                    String schemaUUID)
        throws StandardException
  {
    DataValueDescriptor      schemaIDOrderable;
    DataValueDescriptor      stmtNameOrderable;
    TabInfoImpl            ti = getNonCoreTI(SYSSTATEMENTS_CATALOG_NUM);

    /* Use stmtNameOrderable and schemaIdOrderable in both start
     * and stop position for scan.
     */
 
View Full Code Here

      boolean                 firstCompilation)
            throws StandardException
  {
    ExecIndexRow        keyRow1 = null;
    ExecRow              row;
    DataValueDescriptor      idOrderable;
    TabInfoImpl            ti = getNonCoreTI(SYSSTATEMENTS_CATALOG_NUM);
    SYSSTATEMENTSRowFactory  rf = (SYSSTATEMENTSRowFactory) ti.getCatalogRowFactory();
    int[] updCols;
    if (recompile)
    {
View Full Code Here

  /** @see DataValueDescriptor#getClone */
  public final DataValueDescriptor getClone()
  {
    try
    {
      DataValueDescriptor cloneDVD = getNewNull();
      cloneDVD.setValue(getValue());
      return cloneDVD;
    }
    catch (StandardException se)
    {
      if (SanityManager.DEBUG)
View Full Code Here

  (
    UUID           uuid,
    TransactionController  tc
  ) throws StandardException
  {
    DataValueDescriptor    stmtIdOrderable;
    TabInfoImpl          ti = getNonCoreTI(SYSSTATEMENTS_CATALOG_NUM);

    stmtIdOrderable = getIDValueAsCHAR(uuid);

    /* Set up the start/stop position for the scan */
 
View Full Code Here

   */
  public TriggerDescriptor getTriggerDescriptor(UUID uuid)
        throws StandardException
  {
    TabInfoImpl            ti = getNonCoreTI(SYSTRIGGERS_CATALOG_NUM);
    DataValueDescriptor triggerIdOrderable = getIDValueAsCHAR(uuid);

    /* Set up the start/stop position for the scan */
    ExecIndexRow keyRow = exFactory.getIndexableRow(1);
    keyRow.setColumn(1, triggerIdOrderable);

View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.types.DataValueDescriptor

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.