public void marshall(QueryExecution queryExecution, ProtocolMarshaller protocolMarshaller) {

        if (queryExecution == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(queryExecution.getQueryExecutionId(), QUERYEXECUTIONID_BINDING);
            protocolMarshaller.marshall(queryExecution.getQuery(), QUERY_BINDING);
            protocolMarshaller.marshall(queryExecution.getStatementType(), STATEMENTTYPE_BINDING);
            protocolMarshaller.marshall(queryExecution.getResultConfiguration(), RESULTCONFIGURATION_BINDING);
            protocolMarshaller.marshall(queryExecution.getQueryExecutionContext(), QUERYEXECUTIONCONTEXT_BINDING);
            protocolMarshaller.marshall(queryExecution.getStatus(), STATUS_BINDING);
            protocolMarshaller.marshall(queryExecution.getStatistics(), STATISTICS_BINDING);
            protocolMarshaller.marshall(queryExecution.getWorkGroup(), WORKGROUP_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( QueryExecution queryExecution , ProtocolMarshaller protocolMarshaller ) { if ( queryExecution == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( queryExecution . getQueryExecutionId ( ) , QUERYEXECUTIONID_BINDING ) ; protocolMarshaller . marshall ( queryExecution . getQuery ( ) , QUERY_BINDING ) ; protocolMarshaller . marshall ( queryExecution . getStatementType ( ) , STATEMENTTYPE_BINDING ) ; protocolMarshaller . marshall ( queryExecution . getResultConfiguration ( ) , RESULTCONFIGURATION_BINDING ) ; protocolMarshaller . marshall ( queryExecution . getQueryExecutionContext ( ) , QUERYEXECUTIONCONTEXT_BINDING ) ; protocolMarshaller . marshall ( queryExecution . getStatus ( ) , STATUS_BINDING ) ; protocolMarshaller . marshall ( queryExecution . getStatistics ( ) , STATISTICS_BINDING ) ; protocolMarshaller . marshall ( queryExecution . getWorkGroup ( ) , WORKGROUP_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.