
com.linkedin.data.transform.DataComplexProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of data-transform Show documentation
Show all versions of data-transform Show documentation
Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs.
The newest version!
/*
Copyright (c) 2012 LinkedIn Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/**
* $id$
*/
package com.linkedin.data.transform;
import com.linkedin.data.DataComplex;
import com.linkedin.data.DataMap;
import com.linkedin.data.message.Message;
import com.linkedin.data.message.MessageList;
/**
* DataMapProcessor abstracts DataMap processing when it can be described as an
* object with layout similar to data object it operates on with additional information
* how data should be modified. Examples of data processing that fit this description are:
* patch, projections.
*
* @author jodzga
*
*/
public class DataComplexProcessor
{
public static final String DATA_PROCESSING_FAILED = "data processing failed";
private final InstructionScheduler _instructionScheduler;
private final Interpreter _interpreter;
private final DataMap _program;
private final DataComplex _data;
private static final ImmutableList
© 2015 - 2025 Weber Informatics LLC | Privacy Policy