Uses of Class
com.attivio.sdk.ingest.IngestDocument
-
Packages that use IngestDocument Package Description com.attivio.client Contains the Client Attivio API for adding content, submitting queries, and sending general purpose messages to an Attivio server.com.attivio.client.streaming Contains client code for streaming search results.com.attivio.connector com.attivio.platform.transformer.ingest.util com.attivio.platform.util com.attivio.sdk.client Interfaces for client side AIE development.com.attivio.sdk.client.trigger Copyright 2019 Attivio Inc., All rights reserved.com.attivio.sdk.connector com.attivio.sdk.esb com.attivio.sdk.ingest com.attivio.sdk.scanner com.attivio.sdk.scanner.concurrency com.attivio.sdk.security com.attivio.sdk.server.component.ingest Interfaces for all ingest related transformers and associated dependencies of those transformers.com.attivio.sdk.server.component.reduce com.attivio.sdk.service com.attivio.sdk.test com.attivio.sdk.util com.attivio.sysstate com.attivio.util Contains utility classes and methods used across the Attivio code base.com.attivio.util.ft com.attivio.util.serialization Contains classes related to serialization/desearialization of objects to/from XML. -
-
Uses of IngestDocument in com.attivio.client
Methods in com.attivio.client with parameters of type IngestDocument Modifier and Type Method Description protected voidContentFeeder. batchDocument(IngestDocument doc)Adddocto the current batch, flushing batch if any limit exceeded.voidContentFeeder. feed(IngestDocument... docs)Senddocsto AIE.voidContentFeeder. feed(IngestDocument doc, AttivioAcl acl)Sendsdocto the document receiver with the given ACL.protected longContentFeeder. getDocSize(IngestDocument doc)Estimate the size ofdocincluding content pointers.Method parameters in com.attivio.client with type arguments of type IngestDocument Modifier and Type Method Description voidContentFeeder. feed(java.lang.Iterable<IngestDocument> docs)Senddocsto AIE. -
Uses of IngestDocument in com.attivio.client.streaming
Methods in com.attivio.client.streaming that return IngestDocument Modifier and Type Method Description IngestDocumentDocumentSerializer. readIngestDocument(java.io.InputStream is)Methods in com.attivio.client.streaming with parameters of type IngestDocument Modifier and Type Method Description voidDocumentSerializer. writeIngestDocument(java.io.OutputStream out, IngestDocument doc) -
Uses of IngestDocument in com.attivio.connector
Methods in com.attivio.connector with parameters of type IngestDocument Modifier and Type Method Description voidConcurrentScannerMessagePublisher. feed(IngestDocument... doc)voidConcurrentScannerMessagePublisher. feed(IngestDocument doc, AttivioAcl acl)voidConcurrentDocumentFetcherImpl. put(IngestDocument doc, java.lang.String fieldName, java.lang.String id, java.io.InputStream is)voidConcurrentScannerMessagePublisher. put(IngestDocument doc, java.lang.String fieldName, java.lang.String id, java.io.InputStream is) -
Uses of IngestDocument in com.attivio.platform.transformer.ingest.util
Methods in com.attivio.platform.transformer.ingest.util with parameters of type IngestDocument Modifier and Type Method Description static java.util.Collection<java.lang.String>TransformerUtils. getAllOrSpecificFieldList(IngestDocument doc, java.util.Collection<java.lang.String> input)Returns a specific list of input field names or all fields in the document if the input list is null or empty.static <T> booleanTransformerUtils. mapFieldValues(IngestDocument doc, FieldValueCreatingTransformer<T> trans)Applies a FieldValueCreatingTransformer to the given IngestDocument.static voidTransformerUtils. mapFieldValues(IngestDocument doc, java.util.Map<java.lang.String,java.lang.String> fieldMapping, AdvancedFieldValueMapper mapper)Map each document based on the fieldMapping using the suppliedAdvancedFieldValueMapper.static voidTransformerUtils. mapFieldValues(IngestDocument doc, java.util.Map<java.lang.String,java.lang.String> fieldMapping, AdvancedFieldValueMapper mapper, NewFieldCreator newFieldCreator)Map each document based on the fieldMapping using the suppliedFieldValueMapper.static voidTransformerUtils. mapFieldValues(IngestDocument doc, java.util.Map<java.lang.String,java.lang.String> fieldMapping, FieldValueMapper mapper)Map each document based on the fieldMapping using the suppliedFieldValueMapper.static voidTransformerUtils. mapFieldValues(IngestDocument doc, java.util.Map<java.lang.String,java.lang.String> fieldMapping, FieldValueMapper mapper, NewFieldCreator newFieldCreator)Map each document based on the fieldMapping using the suppliedFieldValueMapper.static voidTransformerUtils. modifyFieldValues(IngestDocument doc, java.lang.Iterable<java.lang.String> input, AdvancedFieldValueModifier handler)Iterates over all fields ininput, passing the field values for each to themodifier.static voidTransformerUtils. modifyFieldValues(IngestDocument doc, java.lang.Iterable<java.lang.String> input, FieldValueModifier modifier)Iterates over all fields ininput, passing the field values for each to themodifier.static <T> booleanTransformerUtils. processDocument(IngestDocument doc, FieldValueCreatingTransformer<T> transformer)A processDocument utility method for FieldValueCreatingTransformer, because that class doesn't have one. -
Uses of IngestDocument in com.attivio.platform.util
Methods in com.attivio.platform.util with parameters of type IngestDocument Modifier and Type Method Description voidAbstractDocumentAssociation. clearAssociation(IngestDocument doc)Clears any association related fieldsPhraseQueryAbstractDocumentAssociation. createChildQuery(IngestDocument doc)Creates a Query that will find all children of this document, if any.java.util.ArrayList<java.lang.String>AbstractDocumentAssociation. getAncestry(IngestDocument doc)intAbstractDocumentAssociation. getChildCount(IngestDocument doc)intAbstractDocumentAssociation. getChildIndex(IngestDocument doc)java.lang.StringAbstractDocumentAssociation. getParentId(IngestDocument doc)java.lang.StringAbstractDocumentAssociation. getUltimateParentId(IngestDocument doc)voidAbstractDocumentAssociation. noteChild(IngestDocument parent, IngestDocument child)Annotates parent and child documents such that the parent child relationship is maintained. -
Uses of IngestDocument in com.attivio.sdk.client
Methods in com.attivio.sdk.client that return IngestDocument Modifier and Type Method Description IngestDocumentDocumentProcessorApi. process(IngestDocument doc, java.lang.String workflow)Process a given document by running it through a given workflow.IngestDocumentDocumentStoreApi. retrieve(java.lang.String namespace, java.lang.String docId)IngestDocumentDocumentStoreApi. storeAndUpdate(java.lang.String namespace, IngestDocument doc, java.util.List<java.lang.String> filterFields, boolean storeContentPointers)Stores the document innamespace, creating indexes which allow equality filtering on the list of fields provided.Methods in com.attivio.sdk.client that return types with arguments of type IngestDocument Modifier and Type Method Description java.util.List<IngestDocument>ConnectorControlApi. debugConnector(java.lang.String connectorName, int numDocs)A method to help with debugging connectors.java.lang.Iterable<IngestDocument>DocumentStoreApi. filteredRetrieve(java.lang.String namespace, java.util.Map<java.lang.String,java.lang.String> filters)Finds and returns the documents matching the provided equality filters.Methods in com.attivio.sdk.client with parameters of type IngestDocument Modifier and Type Method Description voidDocumentOutputClient. feed(IngestDocument... docs)Senddocsto AIE.voidIngestClient. feed(IngestDocument doc, AttivioAcl acl)Feeds the document with its ACL to AIE.IngestDocumentDocumentProcessorApi. process(IngestDocument doc, java.lang.String workflow)Process a given document by running it through a given workflow.voidDocumentStoreApi. store(java.lang.String namespace, IngestDocument doc, java.util.List<java.lang.String> filterFields, boolean storeContentPointers)Stores the document innamespace, creating indexes which allow equality filtering on the list of fields provided.IngestDocumentDocumentStoreApi. storeAndUpdate(java.lang.String namespace, IngestDocument doc, java.util.List<java.lang.String> filterFields, boolean storeContentPointers)Stores the document innamespace, creating indexes which allow equality filtering on the list of fields provided.Method parameters in com.attivio.sdk.client with type arguments of type IngestDocument Modifier and Type Method Description voidDocumentOutputClient. feed(java.lang.Iterable<IngestDocument> docs)Senddocsto AIE. -
Uses of IngestDocument in com.attivio.sdk.client.trigger
Methods in com.attivio.sdk.client.trigger that return IngestDocument Modifier and Type Method Description IngestDocumentTriggerApi. process(TriggerDictionaryName dictionaryName, IngestDocument document, boolean published)Processdocumentaccording todictionaryName.default IngestDocumentTriggerApi. process(java.lang.String dictionaryName, IngestDocument document, boolean published)Deprecated.Methods in com.attivio.sdk.client.trigger with parameters of type IngestDocument Modifier and Type Method Description IngestDocumentTriggerApi. process(TriggerDictionaryName dictionaryName, IngestDocument document, boolean published)Processdocumentaccording todictionaryName.default IngestDocumentTriggerApi. process(java.lang.String dictionaryName, IngestDocument document, boolean published)Deprecated. -
Uses of IngestDocument in com.attivio.sdk.connector
Methods in com.attivio.sdk.connector with parameters of type IngestDocument Modifier and Type Method Description voidDocumentPublisher. feed(IngestDocument... doc)Feed one of more documents to Attivio.voidMockPublisher. feed(IngestDocument... docs)voidMockPublisher. feed(IngestDocument doc, AttivioAcl acl)voidDocumentPublisher. put(IngestDocument doc, java.lang.String fieldName, java.lang.String id, java.io.InputStream is)Store the content stream in the content store an put aContentPointerin the indicated document field.voidMockPublisher. put(IngestDocument doc, java.lang.String fieldName, java.lang.String id, java.io.InputStream is) -
Uses of IngestDocument in com.attivio.sdk.esb
Methods in com.attivio.sdk.esb with parameters of type IngestDocument Modifier and Type Method Description voidProcessingResult. completed(IngestDocument doc)voidProcessingResult. debug(IngestDocument doc, java.lang.String msg)voidProcessingResult. drop(IngestDocument doc)voidProcessingResult. drop(IngestDocument doc, ErrorCode errorCode)voidProcessingResult. drop(IngestDocument doc, java.lang.String msg)voidProcessingResult. drop(IngestDocument doc, java.lang.Throwable t)voidProcessingResult. error(IngestDocument doc, java.lang.Throwable e, java.lang.String msg)voidProcessingResult. fail(IngestDocument doc)voidProcessingResult. fail(IngestDocument doc, ErrorCode errorCode, java.lang.Throwable e)voidProcessingResult. fail(IngestDocument doc, ErrorCode defaultErrorCode, java.lang.Throwable e, java.lang.String msg)voidProcessingResult. fail(IngestDocument doc, java.lang.String msg)voidProcessingResult. fail(IngestDocument doc, java.lang.Throwable e)voidProcessingResult. lost(IngestDocument doc)voidProcessingResult. notHandled(IngestDocument doc)voidProcessingResult. setCurrentDocument(IngestDocument currentDocument)Convenience function to set the current document context.voidProcessingResult. warn(IngestDocument doc, ErrorCode errorCode, java.lang.String msg, java.lang.Object... args)voidProcessingResult. warn(IngestDocument doc, ErrorCode defaultErrorCode, java.lang.Throwable e, java.lang.String msg)voidProcessingResult. warn(IngestDocument doc, java.lang.Throwable e)voidProcessingResult. warn(IngestDocument doc, java.lang.Throwable e, java.lang.String msg, java.lang.Object... args)Constructors in com.attivio.sdk.esb with parameters of type IngestDocument Constructor Description DocData(IngestDocument doc) -
Uses of IngestDocument in com.attivio.sdk.ingest
Methods in com.attivio.sdk.ingest that return IngestDocument Modifier and Type Method Description protected IngestDocumentDocumentList. clone(IngestDocument tmp)IngestDocumentIngestDocument. clone()IngestDocumentBulkUpdate. getDocument()Get the template document for this bulk update.IngestDocumentDocumentList. getDocument(java.lang.String id)Gets a document from this list by document ID.Methods in com.attivio.sdk.ingest with parameters of type IngestDocument Modifier and Type Method Description protected IngestDocumentDocumentList. clone(IngestDocument tmp)voidIngestDocument. importFields(IngestDocument doc)Import all fields into this document. -
Uses of IngestDocument in com.attivio.sdk.scanner
Methods in com.attivio.sdk.scanner with parameters of type IngestDocument Modifier and Type Method Description voidParentChildDocumentAssociation. clearAssociation(IngestDocument doc)Clears any association related fieldsPhraseQueryParentChildDocumentAssociation. createChildQuery(IngestDocument doc)Creates a Query that will find all children of this document, if any.java.util.ArrayList<java.lang.String>ParentChildDocumentAssociation. getAncestry(IngestDocument doc)intParentChildDocumentAssociation. getChildCount(IngestDocument doc)intParentChildDocumentAssociation. getChildIndex(IngestDocument doc)java.lang.StringParentChildDocumentAssociation. getParentId(IngestDocument doc)java.lang.StringParentChildDocumentAssociation. getUltimateParentId(IngestDocument doc)booleanIncludeExcludeDocumentFilter. isIncluded(IngestDocument doc, java.lang.String filterName)The value of the field is evaluated by the filter to determine if the document should be published.voidParentChildDocumentAssociation. noteChild(IngestDocument parent, IngestDocument child)Annotates parent and child documents such that the parent child relationship is maintained. -
Uses of IngestDocument in com.attivio.sdk.scanner.concurrency
Methods in com.attivio.sdk.scanner.concurrency that return IngestDocument Modifier and Type Method Description IngestDocumentDocumentAndAcl. getDocument()Methods in com.attivio.sdk.scanner.concurrency with parameters of type IngestDocument Modifier and Type Method Description voidContentStoreAccess. put(IngestDocument doc, java.lang.String fieldName, java.lang.String id, java.io.InputStream is)Store the content stream in the content store and put aContentPointerin the indicated document field.voidDocumentAndAcl. setDocument(IngestDocument document)Constructors in com.attivio.sdk.scanner.concurrency with parameters of type IngestDocument Constructor Description DocumentAndAcl(IngestDocument document, AttivioAcl acl) -
Uses of IngestDocument in com.attivio.sdk.security
Methods in com.attivio.sdk.security that return IngestDocument Modifier and Type Method Description static IngestDocumentSecurityUtils. attachAcl(IngestDocument doc, AttivioAcl acl)Attaches the ACL to the given document.static IngestDocumentSecurityUtils. createDeleteDocument(AttivioPrincipalKey principalKey)Creates a document for deletion of a principal.static IngestDocumentSecurityUtils. createIngestDocument(AttivioPrincipal principal)Creates a document for ingestion of a principal.Methods in com.attivio.sdk.security with parameters of type IngestDocument Modifier and Type Method Description static IngestDocumentSecurityUtils. attachAcl(IngestDocument doc, AttivioAcl acl)Attaches the ACL to the given document.voidSecurityFeeder. feed(IngestDocument doc, AttivioAcl acl)Sendsdocto the document receiver with the given ACL. -
Uses of IngestDocument in com.attivio.sdk.server.component.ingest
Methods in com.attivio.sdk.server.component.ingest with parameters of type IngestDocument Modifier and Type Method Description voidProcessingFeedbackHandler. debug(IngestDocument doc, java.lang.String message, java.lang.Object... args)Return a debug message result to the client about the processing results of the current document.voidProcessingFeedbackHandler. drop(IngestDocument ingestDocument)Report a dropped documentvoidProcessingFeedbackHandler. error(IngestDocument doc, java.lang.Exception e, java.lang.String message, java.lang.Object... args)Report an error to the client about the processing results of the current document.voidProcessingFeedbackHandler. fail(IngestDocument doc, ErrorCode code, java.lang.Throwable e)voidHandlesDocumentTimeout. handleDocumentTimeout(IngestDocument doc, long timeoutPeriod, java.lang.Exception ex)Method called when a timeout occurs.voidMultiOutputDocumentTransformer. process(IngestDocument doc, DocumentOutputClient out)Generates documents and messages from a single input document.voidChildDocumentPostProcessor. processChildDocument(IngestDocument parent, IngestDocument child)Modify the parent and/or child document adding messages to the result as appropriate.booleanDocumentModifyingTransformer. processDocument(IngestDocument doc)Processes a singleIngestDocument.voidProcessingFeedbackDocumentTagger. tag(java.lang.String stageName, ProcessingFeedbackDocumentTagger.ProcessingResultLevel level, IngestDocument doc, java.lang.Exception e, java.lang.String message, java.lang.Object... args)voidProcessingFeedbackHandler. warn(IngestDocument doc, ErrorCode code, java.lang.Throwable e)voidProcessingFeedbackHandler. warn(IngestDocument doc, java.lang.Exception e, java.lang.String message, java.lang.Object... args)Warn the client about the processing results of the current document. -
Uses of IngestDocument in com.attivio.sdk.server.component.reduce
Methods in com.attivio.sdk.server.component.reduce that return IngestDocument Modifier and Type Method Description IngestDocumentReducingTransformer. reduce(java.lang.String keyValue, java.util.Iterator<IngestDocument> documents)Reduces a set of IngestDocument(s) based on keyMethod parameters in com.attivio.sdk.server.component.reduce with type arguments of type IngestDocument Modifier and Type Method Description IngestDocumentReducingTransformer. reduce(java.lang.String keyValue, java.util.Iterator<IngestDocument> documents)Reduces a set of IngestDocument(s) based on key -
Uses of IngestDocument in com.attivio.sdk.service
Methods in com.attivio.sdk.service that return IngestDocument Modifier and Type Method Description IngestDocumentMockDocumentProcessorApi. process(IngestDocument doc, java.lang.String workflowName)IngestDocumentMockDocumentStore. retrieve(java.lang.String collection, java.lang.String docId)IngestDocumentMockDocumentStore. storeAndUpdate(java.lang.String namespace, IngestDocument doc, java.util.List<java.lang.String> filterFields, boolean storeContentPointers)Stores the document innamespace, creating indexes which allow equality filtering on the list of fields provided.Methods in com.attivio.sdk.service that return types with arguments of type IngestDocument Modifier and Type Method Description java.lang.Iterable<IngestDocument>MockDocumentStore. filteredRetrieve(java.lang.String collection, java.util.Map<java.lang.String,java.lang.String> filterVals)Finds and returns the documents matching the provided equality filters.Methods in com.attivio.sdk.service with parameters of type IngestDocument Modifier and Type Method Description IngestDocumentMockDocumentProcessorApi. process(IngestDocument doc, java.lang.String workflowName)voidMockDocumentStore. store(java.lang.String namespace, IngestDocument doc, java.util.List<java.lang.String> filterFields, boolean storeContentPointers)Stores the document innamespace, creating indexes which allow equality filtering on the list of fields provided.IngestDocumentMockDocumentStore. storeAndUpdate(java.lang.String namespace, IngestDocument doc, java.util.List<java.lang.String> filterFields, boolean storeContentPointers)Stores the document innamespace, creating indexes which allow equality filtering on the list of fields provided.Constructors in com.attivio.sdk.service with parameters of type IngestDocument Constructor Description MockAuditDetail(java.util.UUID clientId, IngestDocument doc, ProcessingResultCode code) -
Uses of IngestDocument in com.attivio.sdk.test
Methods in com.attivio.sdk.test that return IngestDocument Modifier and Type Method Description IngestDocumentMockIngestClient. getDocumentWithId(java.lang.String docId)Methods in com.attivio.sdk.test that return types with arguments of type IngestDocument Modifier and Type Method Description java.util.List<IngestDocument>MockIngestClient. getDocumentList()Methods in com.attivio.sdk.test with parameters of type IngestDocument Modifier and Type Method Description static voidDocumentAssert. assertFieldValue(IngestDocument doc, java.lang.String field, java.lang.Object value)check a doc value.static voidDocumentAssert. assertFieldValueContains(IngestDocument doc, java.lang.String field, java.lang.String value)static voidDocumentAssert. assertFieldValueList(IngestDocument doc, java.lang.String field, java.lang.Object... values)Assert that a document has the specified values for a fieldstatic <T> voidDocumentAssert. assertFieldValueSet(IngestDocument doc, java.lang.String field, T... values)static IngestFieldValueDocumentAssert. assertSingleValue(IngestDocument doc, java.lang.String field)static IngestFieldValueDocumentAssert. assertSingleValueOrNull(IngestDocument doc, java.lang.String field)voidMockProcessingFeedbackHandler. debug(IngestDocument doc, java.lang.String message, java.lang.Object... args)***************************************************************************************************************voidMockProcessingFeedbackHandler. drop(IngestDocument doc)Report a dropped documentvoidMockProcessingFeedbackHandler. error(IngestDocument doc, java.lang.Exception e, java.lang.String message, java.lang.Object... args)***************************************************************************************************************voidMockProcessingFeedbackHandler. fail(IngestDocument doc, ErrorCode code, java.lang.Throwable e)voidMockIngestClient. feed(IngestDocument... docs)voidMockIngestClient. feed(IngestDocument doc, AttivioAcl acl)voidMockDocumentProcessingWorkflow. process(IngestDocument doc)Process document in place for testing purposes.voidMockProcessingFeedbackHandler. warn(IngestDocument doc, ErrorCode code, java.lang.Throwable e)voidMockProcessingFeedbackHandler. warn(IngestDocument doc, java.lang.Exception e, java.lang.String message, java.lang.Object... args)***************************************************************************************************************Method parameters in com.attivio.sdk.test with type arguments of type IngestDocument Modifier and Type Method Description voidMockIngestClient. feed(java.lang.Iterable<IngestDocument> docs) -
Uses of IngestDocument in com.attivio.sdk.util
Methods in com.attivio.sdk.util with parameters of type IngestDocument Modifier and Type Method Description IngestFieldValueAdvancedFieldValueMapper. createMappedValue(IngestDocument doc, IngestField f, IngestFieldValue fv)Process a single field value and returns the new value.IngestFieldValueAdvancedFieldValueMapperWrapper. createMappedValue(IngestDocument doc, IngestField f, IngestFieldValue fv)voidAdvancedFieldValueModifier. modifyFieldValue(IngestDocument doc, IngestField f, IngestFieldValue fv)Modify a single field value in place. -
Uses of IngestDocument in com.attivio.sysstate
Methods in com.attivio.sysstate with parameters of type IngestDocument Modifier and Type Method Description voidNoOpSystemStateMonitor. startDocumentEvent(PlatformMessage msg, java.lang.String componentName, IngestDocument doc)Starts a document event.voidSystemStateMonitor. startDocumentEvent(PlatformMessage msg, java.lang.String componentName, IngestDocument doc)Starts a document event.voidMetricsCollector. startProcessingDocument(PlatformMessage msg, IngestDocument doc)Call this method when this MetricsCollector's component starts processing a document.voidNoOpSystemStateMonitor. stopDocumentEvent(PlatformMessage msg, java.lang.String componentName, IngestDocument doc, long duration)Stops a document event.voidSystemStateMonitor. stopDocumentEvent(PlatformMessage msg, java.lang.String componentName, IngestDocument doc, long durationInNano)Stops a document event.voidMetricsCollector. stopProcessingDocument(PlatformMessage msg, IngestDocument doc, long timeSpentProcessingDocument)Call this method when this MetricsCollector's component stops processing a document. -
Uses of IngestDocument in com.attivio.util
Methods in com.attivio.util with parameters of type IngestDocument Modifier and Type Method Description booleanIncludeExcludeDocumentFilterImpl. isIncluded(IngestDocument doc, java.lang.String filterName) -
Uses of IngestDocument in com.attivio.util.ft
Methods in com.attivio.util.ft that return IngestDocument Modifier and Type Method Description IngestDocumentTransactionStorage.TransactionInput. readDocument()Methods in com.attivio.util.ft with parameters of type IngestDocument Modifier and Type Method Description booleanTransactionReceiver. add(long progress, byte[] id, IngestDocument doc)Receive anIngestDocumentfrom the transaction logvoidTransactionLog. addDocument(byte[] id, IngestDocument doc)Add a document update to the transaction log.voidTransactionLog. addDocument(IngestDocument doc)Add a document update to the transaction log.voidTransactionStorage.FrameOutputStream. writeDocument(IngestDocument doc) -
Uses of IngestDocument in com.attivio.util.serialization
Methods in com.attivio.util.serialization with parameters of type IngestDocument Modifier and Type Method Description static voidIngestDocumentConverter. unmarshal(IngestDocument doc, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)Static method to unmarshal an AttivioDocument.
-