Examples of RawValue


Examples of com.google.appengine.api.datastore.RawValue

        PreparedQuery preparedQuery = service.prepare(query);
        Entity result = preparedQuery.asSingleEntity();
        assertEquals(e.getKey(), result.getKey());

        RawValue rawValue = (RawValue) result.getProperty("long");
        assertEquals(Long.valueOf(123L), rawValue.asType(Long.class));
        assertEquals(Long.valueOf(123L), rawValue.asStrictType(Long.class));
    }
View Full Code Here

Examples of org.msgpack.type.RawValue

        readFully(state.getLengthReadBuffer());
        readFully(state.getPacketReadBuffer());
        state.unpack(cls);
        IntegerValue code = (IntegerValue) state.getHeader().get(Key.CODE);
        if (code.getInt() != 0) {
            RawValue error = (RawValue) state.getBody().get(Key.ERROR);
            throw new TarantoolException(code.getInt(), error.getString());
        }
        return state.getBody().get(Key.DATA);
    }
View Full Code Here

Examples of org.zkoss.zuss.metainfo.RawValue

    case INCLUDE:
      parseInclude(ctx, kw);
      return;
    case CHARSET:
    case IMPORT:
      new RawValue(ctx.block.owner, "@import "+_in.getUntil(";")+'\n', kw.getLine());
      return;
    case MEDIA:
      String scope = _in.getUntil("{");
      if (!scope.endsWith("{"))
        throw error("'{' expected", kw);
      scope = scope.substring(0, scope.length() - 1);
      newBlock(ctx,
        new MediaDefinition(ctx.block.owner, scope, kw.getLine()));
      return;
    case FONTFACE:
        new RawValue(ctx.block.owner, "@font-face "+_in.getUntil("}")+'\n', kw.getLine());
                    return;
    case IF:
      nextAndCheck(ctx, '(', false);
      expr = new Expression(_in.getLine());
      parseExpression(ctx, expr, '{');
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.