trait FlinkReadEngine extends AnyRef
- Alphabetic
- By Inheritance
- FlinkReadEngine
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
asDataFlow(): MapFunction[Partition, Array[Byte]]
Retrieves an flink map function that download data for each partition.
Retrieves an flink map function that download data for each partition.
- returns
the akka flow
- Exceptions thrown
com.here.platform.data.client.DataClientNonRetriableException
in case of non-retriable errorcom.here.platform.data.client.DataClientRetriableException
in case of retriable error
-
abstract
def
getDataAsBytes(partition: Partition): Array[Byte]
Retrieves the blob data associated with the partition as array of bytes
Retrieves the blob data associated with the partition as array of bytes
- partition
the partition to retrieve
- returns
blob data associated with the partition as array of bytes
- Exceptions thrown
NotFoundException
when the partition doesn't have associated payload (e.g. for expired volatile data)com.here.platform.data.client.DataClientNonRetriableException
in case of non-retriable errorcom.here.platform.data.client.DataClientRetriableException
in case of retriable error- Note
This method could be used only for downloading data less than 2GB
-
abstract
def
getObjectDataAsBytes2(layerId: String, key: String, applyDecompression: Boolean, range: ByteRange = AllBytes): Array[Byte]
Retrieves the blob data associated with provided key as source.
Retrieves the blob data associated with provided key as source.
- layerId
the id of the layer
- key
the key of the object to get data for
- applyDecompression
decides whether decompression is applied for the object data.
- range
the range of bytes to retrieve
- returns
Blob data associated with key as source.
- Exceptions thrown
com.here.platform.data.client.DataClientNonRetriableException
in case of non-retriable errorcom.here.platform.data.client.DataClientRetriableException
in case of retriable errorcom.here.platform.data.client.NotFoundException
in case of the key doesn't existjava.lang.UnsupportedOperationException
in case method called for non-objectstore layer
-
abstract
def
getObjectMetadata(layerId: String, key: String): ObjectMetadata
Retrieves metadata of the key provided in request
Retrieves metadata of the key provided in request
- layerId
the id of the layer
- key
the key for which metadata is requested
- returns
metadata associated with the specified key
- Exceptions thrown
com.here.platform.data.client.DataClientNonRetriableException
in case of non-retriable errorcom.here.platform.data.client.DataClientRetriableException
in case of retriable errorcom.here.platform.data.client.NotFoundException
in case of the key doesn't existjava.lang.UnsupportedOperationException
in case method called for non-objectstore layer
-
abstract
def
listObjects(layerId: String, parent: Option[String], deepListEnabled: Boolean = false, pageSize: Option[Int] = None): List[ObjectStoreListItem]
Retrieves Source of elements under the provided parent key.
Retrieves Source of elements under the provided parent key.
If no parent key is provided, root of the layer is used as default key.
- layerId
the id of the layer
- parent
the key under which listing items are requested
- deepListEnabled
in case the flag is set to true all results appear as complete objects
- pageSize
optional number of objects that are fetched internally per request
- returns
Source of the listing elements.
- Exceptions thrown
com.here.platform.data.client.DataClientNonRetriableException
in case of non-retriable errorcom.here.platform.data.client.DataClientRetriableException
in case of retriable errorjava.lang.UnsupportedOperationException
in case method called for non-objectstore layer
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()