Class RecordsEvent
java.lang.Object
software.amazon.awssdk.services.s3.model.RecordsEvent
- All Implemented Interfaces:
Serializable,SdkPojo,SelectObjectContentEventStream,ToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>
- Direct Known Subclasses:
DefaultRecords
@Generated("software.amazon.awssdk:codegen")
public class RecordsEvent
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>, SelectObjectContentEventStream
The container for the records event.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static classNested classes/interfaces inherited from interface software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream
SelectObjectContentEventStream.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream
UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofRecordsEvent.static RecordsEvent.Builderbuilder()final RecordsEventcopy(Consumer<? super RecordsEvent.Builder> modifier) final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final SdkBytespayload()The byte array of partial, one or more result records.static Class<? extends RecordsEvent.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream
sdkEventType
-
Constructor Details
-
RecordsEvent
-
-
Method Details
-
payload
The byte array of partial, one or more result records. S3 Select doesn't guarantee that a record will be self-contained in one record frame. To ensure continuous streaming of data, S3 Select might split the same record across multiple record frames instead of aggregating the results in memory. Some S3 clients (for example, the SDK for Java) handle this behavior by creating a
ByteStreamout of the response by default. Other clients might not handle this behavior by default. In those cases, you must aggregate the results on the client side and parse the response.- Returns:
- The byte array of partial, one or more result records. S3 Select doesn't guarantee that a record will be
self-contained in one record frame. To ensure continuous streaming of data, S3 Select might split the
same record across multiple record frames instead of aggregating the results in memory. Some S3 clients
(for example, the SDK for Java) handle this behavior by creating a
ByteStreamout of the response by default. Other clients might not handle this behavior by default. In those cases, you must aggregate the results on the client side and parse the response.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
copy
- Specified by:
copyin interfaceToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
accept
Calls the appropriate visit method depending on the subtype ofRecordsEvent.- Specified by:
acceptin interfaceSelectObjectContentEventStream- Parameters:
visitor- Visitor to invoke.
-