Class/Object

it.agilelab.bigdata.nifi.client.api

DataTransferApi

Related Docs: object DataTransferApi | package api

Permalink

class DataTransferApi extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DataTransferApi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DataTransferApi(baseUrl: String)(implicit serializer: SttpSerializer)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def commitInputPortTransaction(responseCode: Int, portId: String, transactionId: String): ApiRequestT[TransactionResultEntity]

    Permalink

    Expected answers: code 200 : TransactionResultEntity (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid.

    Expected answers: code 200 : TransactionResultEntity (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.) code 401 : (Client could not be authenticated.) code 403 : (Client is not authorized to make this request.) code 404 : (The specified resource could not be found.) code 409 : (The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.) code 503 : (NiFi instance is not ready for serving request, or temporarily overloaded. Retrying the same request later may be successful)

    responseCode

    The response code. Available values are BAD_CHECKSUM(19), CONFIRM_TRANSACTION(12) or CANCEL_TRANSACTION(15).

    portId

    The input port id.

    transactionId

    The transaction id.

  7. def commitOutputPortTransaction(responseCode: Int, checksum: String, portId: String, transactionId: String): ApiRequestT[TransactionResultEntity]

    Permalink

    Expected answers: code 200 : TransactionResultEntity (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid.

    Expected answers: code 200 : TransactionResultEntity (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.) code 401 : (Client could not be authenticated.) code 403 : (Client is not authorized to make this request.) code 404 : (The specified resource could not be found.) code 409 : (The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.) code 503 : (NiFi instance is not ready for serving request, or temporarily overloaded. Retrying the same request later may be successful)

    responseCode

    The response code. Available values are CONFIRM_TRANSACTION(12) or CANCEL_TRANSACTION(15).

    checksum

    A checksum calculated at client side using CRC32 to check flow file content integrity. It must match with the value calculated at server side.

    portId

    The output port id.

    transactionId

    The transaction id.

  8. def createPortTransaction(portType: String, portId: String): ApiRequestT[TransactionResultEntity]

    Permalink

    Expected answers: code 200 : TransactionResultEntity (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid.

    Expected answers: code 200 : TransactionResultEntity (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.) code 401 : (Client could not be authenticated.) code 403 : (Client is not authorized to make this request.) code 404 : (The specified resource could not be found.) code 409 : (The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.) code 503 : (NiFi instance is not ready for serving request, or temporarily overloaded. Retrying the same request later may be successful)

    portType

    The port type.

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def extendInputPortTransactionTTL(portId: String, transactionId: String): ApiRequestT[TransactionResultEntity]

    Permalink

    Expected answers: code 200 : TransactionResultEntity (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid.

    Expected answers: code 200 : TransactionResultEntity (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.) code 401 : (Client could not be authenticated.) code 403 : (Client is not authorized to make this request.) code 404 : (The specified resource could not be found.) code 409 : (The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.)

  12. def extendOutputPortTransactionTTL(portId: String, transactionId: String): ApiRequestT[TransactionResultEntity]

    Permalink

    Expected answers: code 200 : TransactionResultEntity (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid.

    Expected answers: code 200 : TransactionResultEntity (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.) code 401 : (Client could not be authenticated.) code 403 : (Client is not authorized to make this request.) code 404 : (The specified resource could not be found.) code 409 : (The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.) code 503 : (NiFi instance is not ready for serving request, or temporarily overloaded. Retrying the same request later may be successful)

  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def receiveFlowFiles(portId: String, transactionId: String): ApiRequestT[String]

    Permalink

    Expected answers: code 200 : String (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid.

    Expected answers: code 200 : String (successful operation) code 400 : (NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.) code 401 : (Client could not be authenticated.) code 403 : (Client is not authorized to make this request.) code 404 : (The specified resource could not be found.) code 409 : (The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.) code 503 : (NiFi instance is not ready for serving request, or temporarily overloaded. Retrying the same request later may be successful)

    portId

    The input port id.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def transferFlowFiles(portId: String, transactionId: String): ApiRequestT[Any]

    Permalink

    Expected answers: code 200 : Any (There is no flow file to return.) code 400 : (NiFi was unable to complete the request because it was invalid.

    Expected answers: code 200 : Any (There is no flow file to return.) code 400 : (NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.) code 401 : (Client could not be authenticated.) code 403 : (Client is not authorized to make this request.) code 404 : (The specified resource could not be found.) code 409 : (The request was valid but NiFi was not in the appropriate state to process it. Retrying the same request later may be successful.) code 503 : (NiFi instance is not ready for serving request, or temporarily overloaded. Retrying the same request later may be successful)

    portId

    The output port id.

  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped