code: /*
   * Copyright 2012-2018 Chronicle Map Contributors
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  package net.openhft.chronicle.map.impl;
  
  import net.openhft.chronicle.hash.impl.stage.data.bytes.EntryKeyBytesData;
  import net.openhft.chronicle.hash.impl.stage.data.bytes.InputKeyBytesData;
  import net.openhft.chronicle.hash.impl.stage.entry.*;
  import net.openhft.chronicle.hash.impl.stage.hash.KeyBytesInterop;
  import net.openhft.chronicle.hash.impl.stage.hash.LogHolder;
  import net.openhft.chronicle.hash.impl.stage.hash.OwnerThreadHolder;
  import net.openhft.chronicle.hash.impl.stage.query.*;
  import net.openhft.chronicle.map.impl.stage.data.DummyValueZeroData;
  import net.openhft.chronicle.map.impl.stage.data.bytes.EntryValueBytesData;
  import net.openhft.chronicle.map.impl.stage.data.bytes.WrappedValueBytesData;
  import net.openhft.chronicle.map.impl.stage.data.instance.WrappedValueInstanceDataHolder;
  import net.openhft.chronicle.map.impl.stage.entry.MapEntryStages;
  import net.openhft.chronicle.map.impl.stage.map.*;
  import net.openhft.chronicle.map.impl.stage.query.AcquireHandle;
  import net.openhft.chronicle.map.impl.stage.query.MapAbsent;
  import net.openhft.chronicle.map.impl.stage.query.MapQuery;
  import net.openhft.chronicle.map.impl.stage.query.QueryCheckOnEachPublicOperation;
  import net.openhft.chronicle.map.impl.stage.ret.DefaultReturnValue;
  import net.openhft.chronicle.map.impl.stage.ret.UsingReturnValue;
  import net.openhft.sg.Context;
  import net.openhft.sg.Staged;
  
  @Staged
  @Context(topLevel = {
          CompilationAnchor.class,
          OwnerThreadHolder.class,
  
          VanillaChronicleMapHolderImpl.class,
  
          KeyBytesInterop.class,
          QuerySegmentStages.class,
          KeySearch.class,
          InputKeyHashCode.class,
          QueryHashLookupSearch.class,
          HashLookupPos.class,
  
          QueryCheckOnEachPublicOperation.class,
          SearchAllocatedChunks.class,
  
          MapEntryStages.class,
          MapEntryOperationsDelegation.class,
          WrappedValueInstanceDataHolderAccess.class,
          WrappedValueBytesDataAccess.class,
          MapQuery.class,
          MapAbsent.class,
          DefaultValue.class,
          ValueBytesInterop.class,
  
          QueryAlloc.class,
  },
          nested = {
                  ReadLock.class,
                  UpdateLock.class,
                  WriteLock.class,
  
                  EntryKeyBytesData.class,
                  EntryValueBytesData.class,
  
                  InputKeyBytesData.class,
  
                  WrappedValueInstanceDataHolder.class,
                  WrappedValueBytesData.class,
                  AcquireHandle.class,
                  DefaultReturnValue.class,
                  UsingReturnValue.class,
  
                  HashEntryChecksumStrategy.class,
  
                  DummyValueZeroData.class,
          })
  public class MapQueryContext {
  }
  