org.gcube.datatransformation.datatransformationlibrary.programs.metadata.indexfeed
Class AggregateFts_Transformer

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.programs.metadata.indexfeed.AggregateFts_Transformer
All Implemented Interfaces:
org.gcube.datatransformation.datatransformationlibrary.programs.Program

public class AggregateFts_Transformer
extends Object
implements org.gcube.datatransformation.datatransformationlibrary.programs.Program

Author:
Dimitris Katris, NKUA

Program creating full text rowsets.


Constructor Summary
AggregateFts_Transformer()
           
 
Method Summary
protected static String getContent(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeElement metadata, org.gcube.common.core.scope.GCUBEScope scope)
           
 void transform(List<org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource> sources, List<org.gcube.datatransformation.datatransformationlibrary.model.Parameter> programParameters, org.gcube.datatransformation.datatransformationlibrary.model.ContentType targetContentType, org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink sink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateFts_Transformer

public AggregateFts_Transformer()
Method Detail

transform

public void transform(List<org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource> sources,
                      List<org.gcube.datatransformation.datatransformationlibrary.model.Parameter> programParameters,
                      org.gcube.datatransformation.datatransformationlibrary.model.ContentType targetContentType,
                      org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink sink)
               throws Exception
Specified by:
transform in interface org.gcube.datatransformation.datatransformationlibrary.programs.Program
Parameters:
sources - The DataSources from which the Program will get the DataElements.
programParameters - The parameters of the Program which are primarily set by the TransformationUnit.
targetContentType - The ContentType in which the source data will be transformed.
sink - The DataSink in which the Program will append the transformed DataElements.
Throws:
Exception - If the program is not capable to transform DataElements.
See Also:
Program.transform(java.util.List, java.util.List, org.gcube.datatransformation.datatransformationlibrary.model.ContentType, org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink)

getContent

protected static String getContent(org.gcube.contentmanagement.gcubemodellibrary.elements.GCubeElement metadata,
                                   org.gcube.common.core.scope.GCUBEScope scope)
                            throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.