Examples of DataDictionary


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

    TableName          cursorTargetTableName = null;
    CurrentOfNode           currentOfNode = null;
    FromList          resultFromList;
    ResultColumnList      afterColumns = null;

    DataDictionary dataDictionary = getDataDictionary();

    // check if targetTable is a synonym
    if (targetTableName != null)
    {
      TableName synonymTab = resolveTableToSynonym(this.targetTableName);
View Full Code Here

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

   * @exception StandardException if an error occurs
   */
  private String getQueryFromDescription(String queryName, boolean net)
    throws StandardException
  {
    DataDictionary dd = getLanguageConnectionContext().getDataDictionary();

    // If dictionary version is below 10.2, special case
    // getColumnPrivileges and getTablePrivileges since new system tables
    // for privileges wouldn't be present.
    if (!dd.checkVersion(DataDictionary.DD_VERSION_DERBY_10_2, null))
    {
      if (queryName.equals("getColumnPrivileges"))
        queryName = "getColumnPrivileges_10_1";

      if (queryName.equals("getTablePrivileges"))
View Full Code Here

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

     * later, and the recompile is in a sub transaction, and will update the SYSSTATEMENTS
     * entry.  Don't want to block.
     */
    lcc.beginNestedTransaction(true);

    DataDictionary dd = getLanguageConnectionContext().getDataDictionary();
    SPSDescriptor spsd = dd.getSPSDescriptor(
                    spsName,
                    net ? dd.getSysIBMSchemaDescriptor() :
                    dd.getSystemSchemaDescriptor());
    lcc.commitNestedTransaction();

    if (spsd == null)
    {
      throw Util.notImplemented(spsName);
View Full Code Here

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

        {
          /*
          ** Get the DataDictionary, so we can get the descriptor for
          ** the SPP to invalidate it.
          */
          DataDictionary dd = lcc.getDataDictionary();
           
          SchemaDescriptor sd = dd.getSchemaDescriptor(execSchemaName, lcc.getTransactionCompile(), true);
          SPSDescriptor spsd = dd.getSPSDescriptor(execStmtName, sd);
          spsd.makeInvalid(action, lcc);
          break;
        }
        }
      }
View Full Code Here

Examples of org.dmg.pmml31.DataDictionaryDocument.DataDictionary

        header.setCopyright("www.gridminer.org");
        Application application = header.addNewApplication();
        application.setName("GridMiner");
        application.setVersion("1.0");
        //data dictionary
        DataDictionary dataDictionary = pmmlObject.addNewDataDictionary();
        BigInteger pom = new BigInteger(String.valueOf(columnCount));
        dataDictionary.setNumberOfFields(pom);
       
        for (int i = 0; i < columnCount; i++)
        {
            DataField dataField = dataDictionary.addNewDataField();
            dataField.setName(colInfo[i].getName());
            dataField.setDisplayName(colInfo[i].getDisplayName());          
            //dataField[i].setDataType(DATATYPE.fromString(colInfo[i].getDataType()));
            dataField.setDataType(
                    DATATYPE.Enum.forString(colInfo[i].getDataType()));
View Full Code Here

Examples of quickfix.DataDictionary

        return new SessionID(sessionID);
    }

    @Converter
    public static Message toMessage(String value, Exchange exchange) throws InvalidMessage, ConfigError {
        DataDictionary dataDictionary = getDataDictionary(exchange);
        return new Message(value, dataDictionary);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.