Examples of toMap()


Examples of org.apache.phoenix.hbase.index.covered.update.IndexUpdateManager.toMap()

    if (LOG.isDebugEnabled()) {
      LOG.debug("Found index updates for Delete: " + d + "\n" + updateMap);
    }

    return updateMap.toMap();
  }

  @Override
  public Collection<Pair<Mutation, byte[]>> getIndexUpdateForFilteredRows(
      Collection<KeyValue> filtered) throws IOException {
View Full Code Here

Examples of org.apache.phoenix.hbase.index.covered.update.IndexUpdateManager.toMap()

        //just set the timestamp on the table - it already has all the future state
        state.setCurrentTimestamp(entry.getTimestamp());
        this.addDeleteUpdatesToMap(updateMap, state, entry.getTimestamp());
      }
    }
    return updateMap.toMap();
  }


  /**
   * @param filtered
View Full Code Here

Examples of org.bson.BSONObject.toMap()

  @SuppressWarnings("UnusedParameters")
  public void checkHeader(String methodName, InputStream inputStream) throws IOException {
    // TODO(gco): Check sequence matches and method matches.
    BSONObject bsonHeader = goRpcBsonDecoder.readObject(inputStream);
    if (LOGGER.isDebugEnabled()) {
      String joinedBsonHeader = Joiner.on(',').withKeyValueSeparator("=").join(bsonHeader.toMap());
      LOGGER.debug("bsonHeader: {}", joinedBsonHeader);
    }
    if (bsonHeader.containsField("Error")) {
      Object error = bsonHeader.get("Error");
      if (error instanceof byte[] && ((byte[]) error).length != 0) {
View Full Code Here

Examples of org.bson.BasicBSONObject.toMap()

        for (Entry<String, Object> entry : b.entrySet()) {
            b.put(entry.getKey(), deserializeField(entry.getValue(), mapValueTypeInfo, ext));
        }

        return b.toMap();
    }


    /**
     * Most primitives are included, but some are specific to Mongo instances
View Full Code Here

Examples of org.destecs.protocol.structs.GetVariablesStruct.toMap()

    {
      ErrorLog.log(e);
      throw e;
    }
   
    return vars.toMap();
  }

  public Boolean saveRequired() throws Exception
  {
    return false;
View Full Code Here

Examples of org.destecs.protocol.structs.QueryInterfaceStruct.toMap()

      s.outputs.add(new QueryInterfaceStructoutputsStruct(output.getIdentifier(), dimensions));
    }

    // No events from VDM

    return s.toMap();
  }

  public Map<String, Object> step(Map<String, Object> data)
      throws RemoteSimulationException
  {
View Full Code Here

Examples of org.destecs.protocol.structs.StepStruct.toMap()

        // The next point where VDM needs CT communication is result.time but if the simulation stops before we
        // are not by protocol allowed to ask for this.
        result.time = finishTime;
      }

      return result.toMap();
    } catch (RemoteSimulationException e)
    {
      ErrorLog.log(e);
      throw e;
    }
View Full Code Here

Examples of org.hibernate.cache.Cache.toMap()

  public List getAllValuesFromRegionCache( String region ) {
    List list = new ArrayList<Object>();
    if ( cacheEnabled ) {
      Cache cache = regionCache.get( region );
      if ( cacheEnabled( region ) ) {
        Map cacheMap = cache.toMap();
        if ( cacheMap != null ) {
          Iterator it = cacheMap.entrySet().iterator();
          while ( it.hasNext() ) {
            Map.Entry entry = (Map.Entry) it.next();
            list.add( entry.getValue() );
View Full Code Here

Examples of org.hibernate.cache.Region.toMap()

        Configuration cfg = CacheTestUtil.buildConfiguration("test", SharedJBossCacheRegionFactory.class, true, true);
        JBossCacheRegionFactory regionFactory = CacheTestUtil.startRegionFactory(cfg, getCacheTestSupport());
       
        Region region = createRegion(regionFactory, "test/test", cfg.getProperties(), getCacheDataDescription());
       
        Map map = region.toMap();
        assertNotNull(map);
        assertEquals(0, map.size());
       
        putInRegion(region, "key1", "value1");
        putInRegion(region, "key2", "value2");
View Full Code Here

Examples of org.hibernate.cache.Region.toMap()

        assertEquals(0, map.size());
       
        putInRegion(region, "key1", "value1");
        putInRegion(region, "key2", "value2");
       
        map = region.toMap();
        assertNotNull(map);
        assertEquals(2, map.size());
        assertEquals("value1", map.get("key1"));
        assertEquals("value2", map.get("key2"));
       
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.