class OneIdQuery extends IdQuery {

        private Id id;

        public OneIdQuery(HugeType resultType, Id id) {
            super(resultType);
            super.mustSortByInput = false;
            this.id = id;
        }

        public OneIdQuery(Query originQuery, Id id) {
            super(originQuery.resultType(), originQuery);
            super.mustSortByInput = false;
            this.id = id;
        }

        public Id id() {
            return this.id;
        }

        public void resetId(Id id) {
            this.id = id;
        }

        @Override
        public int idsSize() {
            return this.id == null ? 0 : 1;
        }

        @Override
        public Set<Id> ids() {
            return this.id == null ? ImmutableSet.of() :
                   ImmutableSet.of(this.id);
        }

        @Override
        public void resetIds() {
            this.id = null;
        }

        @Override
        public IdQuery query(Id id) {<FILL_FUNCTION_BODY>}

        @Override
        public boolean test(HugeElement element) {
            if (this.id == null) {
                return true;
            }
            return this.id.equals(element.id());
        }

        @Override
        public IdQuery copy() {
            OneIdQuery query = (OneIdQuery) super.copy();
            assert this.id.equals(query.id);
            return query;
        }
    }

            E.checkArgumentNotNull(id, "Query id can't be null");
            this.id = id;
            return this;
        
<methods>public void <init>(org.apache.hugegraph.type.HugeType) ,public void <init>(org.apache.hugegraph.type.HugeType, org.apache.hugegraph.backend.query.Query) ,public long actualOffset() ,public org.apache.hugegraph.backend.query.Aggregate aggregate() ,public void aggregate(org.apache.hugegraph.backend.query.Aggregate.AggregateFunc, java.lang.String) ,public void aggregate(org.apache.hugegraph.backend.query.Aggregate) ,public org.apache.hugegraph.backend.query.Aggregate aggregateNotNull() ,public boolean bigCapacity() ,public long capacity() ,public void capacity(long) ,public void checkCapacity(long) throws org.apache.hugegraph.exception.LimitExceedException,public static void checkForceCapacity(long) throws org.apache.hugegraph.exception.LimitExceedException,public Collection<org.apache.hugegraph.backend.query.Condition> conditions() ,public int conditionsSize() ,public org.apache.hugegraph.backend.query.Query copy() ,public void copyBasic(org.apache.hugegraph.backend.query.Query) ,public void copyOffset(org.apache.hugegraph.backend.query.Query) ,public static long defaultCapacity(long) ,public static long defaultCapacity() ,public boolean empty() ,public boolean equals(java.lang.Object) ,public long goOffset(long) ,public int hashCode() ,public Collection<org.apache.hugegraph.backend.id.Id> ids() ,public int idsSize() ,public long limit() ,public void limit(long) ,public boolean noLimit() ,public boolean noLimitAndOffset() ,public long offset() ,public void offset(long) ,public void olap(boolean) ,public boolean olap() ,public void olapPk(org.apache.hugegraph.backend.id.Id) ,public void olapPks(Set<org.apache.hugegraph.backend.id.Id>) ,public Set<org.apache.hugegraph.backend.id.Id> olapPks() ,public void order(org.apache.hugegraph.type.define.HugeKeys, org.apache.hugegraph.backend.query.Query.Order) ,public Map<org.apache.hugegraph.type.define.HugeKeys,org.apache.hugegraph.backend.query.Query.Order> orders() ,public void orders(Map<org.apache.hugegraph.type.define.HugeKeys,org.apache.hugegraph.backend.query.Query.Order>) ,public org.apache.hugegraph.backend.query.Query originQuery() ,public java.lang.String page() ,public void page(java.lang.String) ,public java.lang.String pageWithoutCheck() ,public boolean paging() ,public long range(long, long) ,public boolean reachLimit(long) ,public long remaining() ,public void resetActualOffset() ,public org.apache.hugegraph.type.HugeType resultType() ,public void resultType(org.apache.hugegraph.type.HugeType) ,public org.apache.hugegraph.backend.query.Query rootOriginQuery() ,public boolean showDeleting() ,public void showDeleting(boolean) ,public boolean showExpired() ,public void showExpired(boolean) ,public boolean showHidden() ,public void showHidden(boolean) ,public Set<T> skipOffsetIfNeeded(Set<T>) ,public boolean test(org.apache.hugegraph.structure.HugeElement) ,public java.lang.String toString() ,public long total() <variables>private static final ThreadLocal<java.lang.Long> CAPACITY_CONTEXT,public static final long COMMIT_BATCH,public static final long DEFAULT_CAPACITY,private static final Set<org.apache.hugegraph.backend.id.Id> EMPTY_OLAP_PKS,protected static final org.apache.hugegraph.backend.query.Query NONE,public static final long NO_CAPACITY,public static final long NO_LIMIT,public static final long QUERY_BATCH,private long actualOffset,private long actualStoreOffset,private org.apache.hugegraph.backend.query.Aggregate aggregate,private long capacity,private long limit,private long offset,private boolean olap,private Set<org.apache.hugegraph.backend.id.Id> olapPks,private Map<org.apache.hugegraph.type.define.HugeKeys,org.apache.hugegraph.backend.query.Query.Order> orders,private org.apache.hugegraph.backend.query.Query originQuery,private java.lang.String page,private org.apache.hugegraph.type.HugeType resultType,private boolean showDeleting,private boolean showExpired,private boolean showHidden