Package | Description |
---|---|
org.thales.punch.libraries.punchlang.api |
Punch package documentation.
|
org.thales.punch.libraries.punchlang.impl | |
org.thales.punch.libraries.punchlang.operator |
Punch language operators.
|
org.thales.punch.libraries.punchlang.resource | |
org.thales.punch.libraries.punchlang.resource.builder | |
org.thales.punch.libraries.punchlang.resource.decoders |
Modifier and Type | Field and Description |
---|---|
protected IResourceBuilder |
AbstractRemoteResourceHandlerBuilder.builder |
Modifier and Type | Method and Description |
---|---|
T |
AbstractRemoteResourceHandlerBuilder.setResourceTupleBuilder(IResourceBuilder builder)
Set the tuple builder.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleResourceBuilder
Use this simple stream compatible resource builder to construct resources from
input IO streams.
|
Modifier and Type | Class and Description |
---|---|
class |
CidrRangeOperator
Important
|
class |
IpRangeOperator
Using the IpRangeOperator, you can perform efficient lookups to check if an IP address
belongs to an IP range.
|
Modifier and Type | Method and Description |
---|---|
abstract IResourceBuilder |
FetchOperator.getResourceBuilder()
Implemented by subclasses to return the adequate resource builder.
|
IResourceBuilder |
CidrRangeOperator.getResourceBuilder() |
IResourceBuilder |
FetchCsvOperator.getResourceBuilder() |
IResourceBuilder |
FetchJsonOperator.getResourceBuilder() |
IResourceBuilder |
IpRangeOperator.getResourceBuilder() |
Modifier and Type | Field and Description |
---|---|
protected IResourceBuilder |
AbstractRemoteResourceHandler.builder |
Modifier and Type | Method and Description |
---|---|
protected static Tuple |
RemoteResourceHandler.getResourceFromFile(String resourceUrl,
IResourceBuilder builder) |
protected static Tuple |
RemoteResourceHandler.getResourceFromHttp(String resourceUrl,
IResourceBuilder builder) |
protected static Tuple |
S3RemoteResourceHandler.getResourceFromS3(IResourceBuilder builder,
String endpoint,
String bucket,
String object,
Path accessKey,
Path secretKey) |
static Tuple |
RemoteResourceHandler.testGetResourceFromFile(String resourceUrl,
IResourceBuilder builder)
Test method to fetch files.
|
Constructor and Description |
---|
AbstractRemoteResourceHandler(String resourceUuid,
IResourceBuilder builder,
String cron,
boolean requiredResource,
boolean silent,
org.thales.punch.libraries.metrics.api.IMetricContext mc)
Ctor using a plain HTTP HTTPS or file URL.
|
LocalResourceHandler(String content,
IResourceBuilder builder) |
RemoteResourceHandler(String resourceUuid,
String url,
IResourceBuilder builder,
String cron,
boolean requiredResource,
boolean silent,
org.thales.punch.libraries.metrics.api.IMetricContext mc)
Ctor
|
S3RemoteResourceHandler(String resourceUuid,
String s3Endpoint,
String s3Bucket,
String s3Object,
Path s3Key,
Path s3Secret,
IResourceBuilder builder,
String cron,
boolean requiredResource,
boolean silent,
org.thales.punch.libraries.metrics.api.IMetricContext mc)
S3 CTOR
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCsvLineResourceBuilder
Abstract class to load a remote CSV resource using a streaming strategy.
|
class |
AbstractCsvResourceBuilder
In addition to
AbstractCsvLineResourceBuilder , this abstract class addthe processing of
extracting one of the column using a provided column name, and ocnstructs a dictionary. |
class |
AbstractJsonResourceBuilder
Abstract class to load a remote JSON resource using a streaming strategy.
|
class |
CsvToArrayResourceBuilder
This builder constructs an array tuple from a CSV file provided in a streaming line by line
mode.
|
class |
CsvToMapInPlaceResourceBuilder
Load a CSV file into a dictionary Tuple.
|
class |
CsvToMapResourceBuilder
Load a CSV as a resource tuple.
|
class |
JsonToMapInPlaceResourceBuilder
Load a JSON array as a resource tuple.
|
class |
JsonToMapResourceBuilder
Load a JSON array as a resource tuple.
|
class |
JsonToTupleResourceBuilder
Builder that accepts a plain JSON object as input and returns a
plain Tuple.
|
Modifier and Type | Class and Description |
---|---|
class |
CsvToTuple
This decoder converts a JSON String to a Tuple.
|
class |
JsonToTuple
This decoder converts a Json String to a Tuple.
|
Copyright © 2022. All rights reserved.