Uses of Class
com.amazonaws.athena.connector.lambda.data.Block
-
-
Uses of Block in com.amazonaws.athena.connector.lambda.data
Methods in com.amazonaws.athena.connector.lambda.data that return Block Modifier and Type Method Description BlockBlockAllocator. createBlock(org.apache.arrow.vector.types.pojo.Schema schema)Creates an empty Apache Arrow Block with the provided Schema.BlockBlockAllocatorImpl. createBlock(org.apache.arrow.vector.types.pojo.Schema schema)Creates a block and registers it for later clean up if the block isn't explicitly closed by the caller.BlockBlockSpiller. getBlock()Provides access to the single buffered block in the event that spilled() is false.BlockS3BlockSpiller. getBlock()If spilled() returns false this can be used to access the block.static BlockBlockUtils. newBlock(BlockAllocator allocator, String columnName, org.apache.arrow.vector.types.pojo.ArrowType type, Object... values)Creates a new Block with a single column and populated with the provided values.static BlockBlockUtils. newBlock(BlockAllocator allocator, String columnName, org.apache.arrow.vector.types.pojo.ArrowType type, Collection<Object> values)Creates a new Block with a single column and populated with the provided values.static BlockBlockUtils. newEmptyBlock(BlockAllocator allocator, String columnName, org.apache.arrow.vector.types.pojo.ArrowType type)Creates a new, empty, Block with a single column.protected BlockS3BlockSpiller. read(S3SpillLocation spillLocation, EncryptionKey key, org.apache.arrow.vector.types.pojo.Schema schema)Reads a spilled block.BlockS3BlockSpillReader. read(S3SpillLocation spillLocation, EncryptionKey key, org.apache.arrow.vector.types.pojo.Schema schema)Reads a spilled block.Methods in com.amazonaws.athena.connector.lambda.data with parameters of type Block Modifier and Type Method Description static intBlockUtils. copyRows(Block srcBlock, Block dstBlock, int firstRow, int lastRow)Copies a inclusive range of rows from one block to another.static booleanBlockUtils. isNullRow(Block block, int row)Checks if a row is null by checking that all fields in that row are null (aka not set).static StringBlockUtils. rowToString(Block block, int row)Used to convert a specific row in the provided Block to a human readable string.static voidBlockUtils. unsetRow(int row, Block block)In some filtering situations it can be useful to 'unset' a row as an indication to a later processing stage that the row is irrelevant.protected SpillLocationS3BlockSpiller. write(Block block)Writes (aka spills) a Block.intBlockWriter.RowWriter. writeRows(Block block, int rowNum)Used to accumulate rows as part of a block.Constructors in com.amazonaws.athena.connector.lambda.data with parameters of type Block Constructor Description SimpleBlockWriter(Block block)Basic constructor using a pre-allocated Block. -
Uses of Block in com.amazonaws.athena.connector.lambda.data.writers
Methods in com.amazonaws.athena.connector.lambda.data.writers with parameters of type Block Modifier and Type Method Description booleanGeneratedRowWriter. writeRow(Block block, int rowNum, Object context) -
Uses of Block in com.amazonaws.athena.connector.lambda.domain.predicate
Methods in com.amazonaws.athena.connector.lambda.domain.predicate that return Block Modifier and Type Method Description BlockEquatableValueSet. getValueBlock()Provides access to all the values in this ValueSet.BlockMarker. getValueBlock()Provides access to the Apache Arrow Block used to store the value of this marker.BlockEquatableValueSet. getValues()Provides access to all the values in this ValueSet.Constructors in com.amazonaws.athena.connector.lambda.domain.predicate with parameters of type Block Constructor Description EquatableValueSet(Block valueBlock, boolean whiteList, boolean nullAllowed)Constructs a new EquatableValueSet.Marker(Block block, int valuePosition, Marker.Bound bound, boolean nullValue)Marker(Block valueBlock, Marker.Bound bound, boolean nullValue)LOWER UNBOUNDED is specified with an empty value and a ABOVE bound UPPER UNBOUNDED is specified with an empty value and a BELOW boundSharedBlockMarker(MarkerFactory factory, Block block, int valuePosition, Marker.Bound bound, boolean nullValue) -
Uses of Block in com.amazonaws.athena.connector.lambda.domain.predicate.expression
Methods in com.amazonaws.athena.connector.lambda.domain.predicate.expression that return Block Modifier and Type Method Description BlockConstantExpression. getValues()Constructors in com.amazonaws.athena.connector.lambda.domain.predicate.expression with parameters of type Block Constructor Description ConstantExpression(Block valueBlock, org.apache.arrow.vector.types.pojo.ArrowType type) -
Uses of Block in com.amazonaws.athena.connector.lambda.handlers
Methods in com.amazonaws.athena.connector.lambda.handlers that return Block Modifier and Type Method Description protected BlockUserDefinedFunctionHandler. processRows(BlockAllocator allocator, Method udfMethod, Block inputRecords, org.apache.arrow.vector.types.pojo.Schema outputSchema)Processes a group by rows.Methods in com.amazonaws.athena.connector.lambda.handlers with parameters of type Block Modifier and Type Method Description protected BlockUserDefinedFunctionHandler. processRows(BlockAllocator allocator, Method udfMethod, Block inputRecords, org.apache.arrow.vector.types.pojo.Schema outputSchema)Processes a group by rows. -
Uses of Block in com.amazonaws.athena.connector.lambda.metadata
Methods in com.amazonaws.athena.connector.lambda.metadata that return Block Modifier and Type Method Description BlockGetSplitsRequest. getPartitions()Returns the partitions that splits should be generated for.BlockGetTableLayoutResponse. getPartitions()Returns the partitions representing the table layout.Constructors in com.amazonaws.athena.connector.lambda.metadata with parameters of type Block Constructor Description GetSplitsRequest(FederatedIdentity identity, String queryId, String catalogName, TableName tableName, Block partitions, List<String> partitionCols, Constraints constraints, String continuationToken)Constructs a new GetSplitsRequest object.GetTableLayoutResponse(String catalogName, TableName tableName, Block partitions)Constructs a new GetTableLayoutResponse object. -
Uses of Block in com.amazonaws.athena.connector.lambda.records
Methods in com.amazonaws.athena.connector.lambda.records that return Block Modifier and Type Method Description BlockReadRecordsResponse. getRecords()Returns the records Block.Constructors in com.amazonaws.athena.connector.lambda.records with parameters of type Block Constructor Description ReadRecordsResponse(String catalogName, Block records)Constructs a new ReadRecordsResponse object. -
Uses of Block in com.amazonaws.athena.connector.lambda.security
Methods in com.amazonaws.athena.connector.lambda.security that return Block Modifier and Type Method Description BlockAesGcmBlockCrypto. decrypt(EncryptionKey key, byte[] bytes, org.apache.arrow.vector.types.pojo.Schema schema)BlockBlockCrypto. decrypt(EncryptionKey key, byte[] bytes, org.apache.arrow.vector.types.pojo.Schema schema)Used to decrypt and deserialize a Block from the provided bytes and schema.BlockNoOpBlockCrypto. decrypt(EncryptionKey key, byte[] bytes, org.apache.arrow.vector.types.pojo.Schema schema)Methods in com.amazonaws.athena.connector.lambda.security with parameters of type Block Modifier and Type Method Description byte[]AesGcmBlockCrypto. encrypt(EncryptionKey key, Block block)byte[]BlockCrypto. encrypt(EncryptionKey key, Block block)Used to encrypt the provided Block in its serialized form.byte[]NoOpBlockCrypto. encrypt(EncryptionKey key, Block block) -
Uses of Block in com.amazonaws.athena.connector.lambda.serde
Methods in com.amazonaws.athena.connector.lambda.serde that return Block Modifier and Type Method Description BlockBlockDeserializer. deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)Deprecated.Methods in com.amazonaws.athena.connector.lambda.serde with parameters of type Block Modifier and Type Method Description voidBlockSerializer. serialize(Block block, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)Deprecated. -
Uses of Block in com.amazonaws.athena.connector.lambda.serde.v2
Methods in com.amazonaws.athena.connector.lambda.serde.v2 that return Block Modifier and Type Method Description BlockBlockSerDe.Deserializer. doDeserialize(com.fasterxml.jackson.core.JsonParser jparser, com.fasterxml.jackson.databind.DeserializationContext ctxt)Methods in com.amazonaws.athena.connector.lambda.serde.v2 with parameters of type Block Modifier and Type Method Description voidBlockSerDe.Serializer. doSerialize(Block block, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) -
Uses of Block in com.amazonaws.athena.connector.lambda.serde.v3
Methods in com.amazonaws.athena.connector.lambda.serde.v3 that return Block Modifier and Type Method Description BlockBlockSerDeV3.Deserializer. doDeserialize(com.fasterxml.jackson.core.JsonParser jparser, com.fasterxml.jackson.databind.DeserializationContext ctxt)Methods in com.amazonaws.athena.connector.lambda.serde.v3 with parameters of type Block Modifier and Type Method Description voidBlockSerDeV3.Serializer. doSerialize(Block block, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) -
Uses of Block in com.amazonaws.athena.connector.lambda.serde.v4
Methods in com.amazonaws.athena.connector.lambda.serde.v4 that return Block Modifier and Type Method Description BlockBlockSerDeV4.Deserializer. doDeserialize(com.fasterxml.jackson.core.JsonParser jparser, com.fasterxml.jackson.databind.DeserializationContext ctxt)Methods in com.amazonaws.athena.connector.lambda.serde.v4 with parameters of type Block Modifier and Type Method Description voidBlockSerDeV4.Serializer. doSerialize(Block block, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)Constructor parameters in com.amazonaws.athena.connector.lambda.serde.v4 with type arguments of type Block Constructor Description Deserializer(VersionedSerDe.Deserializer<Block> blockDeserializer, ArrowTypeSerDe.Deserializer arrowTypeDeserializer)Serializer(VersionedSerDe.Serializer<Block> blockSerializer, ArrowTypeSerDe.Serializer arrowTypeSerializer) -
Uses of Block in com.amazonaws.athena.connector.lambda.udf
Methods in com.amazonaws.athena.connector.lambda.udf that return Block Modifier and Type Method Description BlockUserDefinedFunctionRequest. getInputRecords()BlockUserDefinedFunctionResponse. getRecords()Constructors in com.amazonaws.athena.connector.lambda.udf with parameters of type Block Constructor Description UserDefinedFunctionRequest(FederatedIdentity identity, Block inputRecords, org.apache.arrow.vector.types.pojo.Schema outputSchema, String methodName, UserDefinedFunctionType functionType)UserDefinedFunctionResponse(Block records, String methodName) -
Uses of Block in com.amazonaws.athena.connector.validation
Methods in com.amazonaws.athena.connector.validation with parameters of type Block Modifier and Type Method Description static GetSplitsResponseLambdaMetadataProvider. getSplits(String catalog, TableName tableName, Constraints constraints, Block partitions, List<String> partitionCols, String contToken, String metadataFunction, FederatedIdentity identity)This method builds and executes a GetSplitsRequest against the specified Lambda function. -
Uses of Block in com.amazonaws.athena.connectors.tpcds
Methods in com.amazonaws.athena.connectors.tpcds with parameters of type Block Modifier and Type Method Description booleanTPCDSRecordHandler.CellWriter. write(Block block, int rowNum, String value)Converts a value from TPCDS' string representation into the appropriate Apache Arrow type and writes it to the correct field in the provided Block and row.
-