Package org.hsqldb.lib

Examples of org.hsqldb.lib.IntValueHashMap$KeySet


  }

  HashSet getGrantedClassNamesDirect()
    throws HsqlException
  {
    IntValueHashMap localIntValueHashMap = this.rightsMap;
    HashSet localHashSet = new HashSet();
    Iterator localIterator = this.rightsMap.keySet().iterator();
    while (localIterator.hasNext())
    {
      Object localObject = localIterator.next();
      if (!(localObject instanceof String))
        continue;
      int i = localIntValueHashMap.get(localObject, 0);
      if (i != 15)
        continue;
      localHashSet.add(localObject);
    }
    return localHashSet;
View Full Code Here


      if ((str1.equals("_SYSTEM")) || (str1.equals("DBA")))
        continue;
      String str2 = ((Grantee)localObject1).allRolesString();
      if (str2 != null)
        addRow(paramResult, "GRANT " + str2 + " TO " + str1);
      IntValueHashMap localIntValueHashMap = ((Grantee)localObject1).getRights();
      if (localIntValueHashMap == null)
        continue;
      Iterator localIterator3 = localIntValueHashMap.keySet().iterator();
      while (localIterator3.hasNext())
      {
        Object localObject2 = localIterator3.next();
        int i = localIntValueHashMap.get(localObject2, 0);
        StringBuffer localStringBuffer = new StringBuffer(64);
        localStringBuffer.append("GRANT").append(' ');
        localStringBuffer.append(GranteeManager.getRightsList(i));
        localStringBuffer.append(' ').append("ON").append(' ');
        if ((localObject2 instanceof String))
View Full Code Here

    return this.next_cs_id;
  }

  private int getStatementID(HsqlNameManager.HsqlName paramHsqlName, String paramString)
  {
    IntValueHashMap localIntValueHashMap = (IntValueHashMap)this.schemaMap.get(paramHsqlName.hashCode());
    if (localIntValueHashMap == null)
      return -1;
    return localIntValueHashMap.get(paramString, -1);
  }
View Full Code Here

  {
    if (paramInt < 0)
    {
      paramInt = nextID();
      int i = paramCompiledStatement.schemaHsqlName.hashCode();
      IntValueHashMap localIntValueHashMap = (IntValueHashMap)this.schemaMap.get(i);
      if (localIntValueHashMap == null)
      {
        localIntValueHashMap = new IntValueHashMap();
        this.schemaMap.put(i, localIntValueHashMap);
      }
      localIntValueHashMap.put(paramCompiledStatement.sql, paramInt);
      this.sqlLookup.put(paramInt, paramCompiledStatement.sql);
    }
    paramCompiledStatement.id = paramInt;
    this.csidMap.put(paramInt, paramCompiledStatement);
    return paramInt;
View Full Code Here

          {
            CompiledStatement localCompiledStatement = (CompiledStatement)this.csidMap.remove(paramInt1);
            if (localCompiledStatement != null)
            {
              int k = localCompiledStatement.schemaHsqlName.hashCode();
              IntValueHashMap localIntValueHashMap = (IntValueHashMap)this.schemaMap.get(k);
              String str = (String)this.sqlLookup.remove(paramInt1);
              localIntValueHashMap.remove(str);
            }
            this.useMap.remove(paramInt1);
          }
          else
          {
View Full Code Here

      {
        CompiledStatement localCompiledStatement = (CompiledStatement)this.csidMap.remove(i);
        if (localCompiledStatement != null)
        {
          int k = localCompiledStatement.schemaHsqlName.hashCode();
          IntValueHashMap localIntValueHashMap = (IntValueHashMap)this.schemaMap.get(k);
          String str = (String)this.sqlLookup.remove(i);
          localIntValueHashMap.remove(str);
        }
        this.useMap.remove(i);
        continue;
      }
      this.useMap.put(i, j);
View Full Code Here

TOP

Related Classes of org.hsqldb.lib.IntValueHashMap$KeySet

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.