private void parseLiteralValue(final DNAEncodingInternal encoding) throws IOException, ClassNotFoundException { final Object value = encoding.decode(this.input); this.currentAction = new LiteralAction(value); }
private void parseEntireArray(final DNAEncodingInternal encoding) throws IOException, ClassNotFoundException { final Object array = encoding.decode(this.input); this.currentAction = new PhysicalAction(array); }
private void parseLiteralValue(final DNAEncodingInternal encoding) throws IOException, ClassNotFoundException { final Object value = encoding.decode(this.input); this.currentAction = new LiteralAction(value); }
private void parseEntireArray(final DNAEncodingInternal encoding) throws IOException, ClassNotFoundException { final Object array = encoding.decode(this.input); this.currentAction = new PhysicalAction(array); }
private void parsePhysical(final DNAEncodingInternal encoding, final boolean isReference) throws IOException, ClassNotFoundException { final String fieldName = this.serializer.readFieldName(this.input); final Object value = encoding.decode(this.input); this.currentAction = new PhysicalAction(fieldName, value, value instanceof ObjectID || isReference); }
private void parseArrayElement(final DNAEncodingInternal encoding) throws IOException, ClassNotFoundException { final int index = this.input.readInt(); final Object value = encoding.decode(this.input); this.currentAction = new PhysicalAction(index, value, value instanceof ObjectID); }
private void parseArrayElement(final DNAEncodingInternal encoding) throws IOException, ClassNotFoundException { final int index = this.input.readInt(); final Object value = encoding.decode(this.input); this.currentAction = new PhysicalAction(index, value, value instanceof ObjectID); }
private void parsePhysical(final DNAEncodingInternal encoding, final boolean isReference) throws IOException, ClassNotFoundException { final String fieldName = this.serializer.readFieldName(this.input); final Object value = encoding.decode(this.input); this.currentAction = new PhysicalAction(fieldName, value, value instanceof ObjectID || isReference); }
private void parseSubArray(final DNAEncodingInternal encoding) throws IOException, ClassNotFoundException { final int startPos = this.input.readInt(); final Object subArray = encoding.decode(this.input); this.currentAction = new PhysicalAction(subArray, startPos); }
private void parseSubArray(final DNAEncodingInternal encoding) throws IOException, ClassNotFoundException { final int startPos = this.input.readInt(); final Object subArray = encoding.decode(this.input); this.currentAction = new PhysicalAction(subArray, startPos); }
private void parseLogical(final DNAEncodingInternal encoding) throws IOException, ClassNotFoundException { final int method = this.input.readInt(); final int paramCount = this.input.read(); if (paramCount < 0) { throw new AssertionError("Invalid param count:" + paramCount); } final Object[] params = new Object[paramCount]; for (int i = 0; i < params.length; i++) { params[i] = encoding.decode(this.input, serializer); } this.currentAction = new LogicalAction(method, params); }
private void parseLogical(final DNAEncodingInternal encoding) throws IOException, ClassNotFoundException { LogicalChangeID logicalChangeID = LogicalChangeID.NULL_ID; if (!input.readBoolean()) { logicalChangeID = new LogicalChangeID(input.readLong()); } final int method = this.input.readInt(); final int paramCount = this.input.read(); if (paramCount < 0) { throw new AssertionError("Invalid param count:" + paramCount); } final Object[] params = new Object[paramCount]; for (int i = 0; i < params.length; i++) { params[i] = encoding.decode(this.input, serializer); } this.currentAction = new LogicalAction(method, params, logicalChangeID); }