public void marshall(GetPartitionRequest getPartitionRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(getPartitionRequest.getCatalogId(), CATALOGID_BINDING);
            protocolMarshaller.marshall(getPartitionRequest.getDatabaseName(), DATABASENAME_BINDING);
            protocolMarshaller.marshall(getPartitionRequest.getTableName(), TABLENAME_BINDING);
            protocolMarshaller.marshall(getPartitionRequest.getPartitionValues(), PARTITIONVALUES_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( GetPartitionRequest getPartitionRequest , ProtocolMarshaller protocolMarshaller ) { if ( getPartitionRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getPartitionRequest . getCatalogId ( ) , CATALOGID_BINDING ) ; protocolMarshaller . marshall ( getPartitionRequest . getDatabaseName ( ) , DATABASENAME_BINDING ) ; protocolMarshaller . marshall ( getPartitionRequest . getTableName ( ) , TABLENAME_BINDING ) ; protocolMarshaller . marshall ( getPartitionRequest . getPartitionValues ( ) , PARTITIONVALUES_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.