Skip to content

/AWS1/CL_S3FIMPORTDATARULE

Specifies a rule that controls how data is imported from S3 into the file system.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_prefix TYPE /AWS1/S3FSTRING /AWS1/S3FSTRING

The S3 key prefix that scopes this import rule. Only objects with keys beginning with this prefix are subject to the rule.

iv_trigger TYPE /AWS1/S3FIMPORTTRIGGER /AWS1/S3FIMPORTTRIGGER

The event that triggers data import. Valid values are ON_DIRECTORY_FIRST_ACCESS (import when a directory is first accessed) and ON_FILE_ACCESS (import when a file is accessed).

iv_sizelessthan TYPE /AWS1/S3FLONG /AWS1/S3FLONG

The upper size limit in bytes for this import rule. Only objects with a size strictly less than this value will have data imported into the file system.


Queryable Attributes

prefix

The S3 key prefix that scopes this import rule. Only objects with keys beginning with this prefix are subject to the rule.

Accessible with the following methods

Method Description
GET_PREFIX() Getter for PREFIX, with configurable default
ASK_PREFIX() Getter for PREFIX w/ exceptions if field has no value
HAS_PREFIX() Determine if PREFIX has a value

trigger

The event that triggers data import. Valid values are ON_DIRECTORY_FIRST_ACCESS (import when a directory is first accessed) and ON_FILE_ACCESS (import when a file is accessed).

Accessible with the following methods

Method Description
GET_TRIGGER() Getter for TRIGGER, with configurable default
ASK_TRIGGER() Getter for TRIGGER w/ exceptions if field has no value
HAS_TRIGGER() Determine if TRIGGER has a value

sizeLessThan

The upper size limit in bytes for this import rule. Only objects with a size strictly less than this value will have data imported into the file system.

Accessible with the following methods

Method Description
GET_SIZELESSTHAN() Getter for SIZELESSTHAN, with configurable default
ASK_SIZELESSTHAN() Getter for SIZELESSTHAN w/ exceptions if field has no value
HAS_SIZELESSTHAN() Determine if SIZELESSTHAN has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_IMPORTDATARULELIST

TYPES TT_IMPORTDATARULELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_S3FIMPORTDATARULE WITH DEFAULT KEY
.