-
Methods in es.uvigo.esei.sing.textproc.abstracttppstep that throw ProcessingException
Modifier and Type |
Method |
Description |
void |
ProcessingBiConsumer.accept(T t,
U u) |
Performs the processing operation on the given arguments.
|
static java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
TppHelper.processAttributes(@NonNull java.util.List<java.lang.String[]> attributesBatch,
int startIndex,
@NonNull java.lang.String[] attributeNames,
@NonNull javax.ws.rs.client.WebTarget target,
@NonNull AbstractProcessingStep.ProcessingConsumer<? super javax.json.stream.JsonGenerator> requestParametersAction,
@NonNull JsonResponseAttributeType responseAttributeType,
@NonNull ProcessingBiConsumer<? super java.util.Map.Entry<java.lang.String,javax.json.JsonObject>,? super java.util.Map<java.lang.String,java.lang.String>> storeProcessedAttributeAction) |
Processes the batch of attributes contained in the specified list, each
attribute identified by a name, by sending an appropriate POST HTTP request
to Text Processing Python, and parsing the resulting JSON response.
|
protected void |
AbstractTppProcessingStep.run() |
|
-
-
Methods in es.uvigo.esei.sing.textproc.step that throw ProcessingException
Modifier and Type |
Method |
Description |
void |
AbstractProcessingStep.NullProcessingConsumer.accept(T t) |
|
void |
AbstractProcessingStep.ProcessingConsumer.accept(T t) |
Performs the processing operation on the given argument.
|
void |
AbstractProcessingStep.execute(@NonNull java.util.Map<java.lang.String,java.lang.String> parameters) |
Executes the processing step implemented by this object, with the given
parameters.
|
protected void |
AbstractProcessingStep.forEachDocumentInNativeQuery(@NonNull java.util.function.Supplier<? extends javax.persistence.Query> querySupplier,
@NonNull java.lang.String taskName,
long numberOfDocuments,
@NonNull AbstractProcessingStep.ProcessingConsumer<java.util.List<java.lang.String[]>> action,
java.lang.Runnable pageEndAction) |
Executes the given action for each batch of documents retrieved by a native
JPA query.
|
protected abstract void |
AbstractProcessingStep.run() |
Executes the processing step implemented by this object.
|
protected void |
AbstractProcessingStep.saveProcessedDocument(@NonNull java.lang.Class<? extends ProcessedDocument> documentType,
int primaryKey,
@NonNull java.util.Map<java.lang.String,java.lang.String> processedAttributes) |
Stores a processed document in the database, from its processed attributes.
|