Refine search
/** * */ @JsonTypeName(CassandraDruidModule.SCHEME) public class CassandraLoadSpec implements LoadSpec { @JsonProperty private final String key; private final CassandraDataSegmentPuller puller; @JsonCreator public CassandraLoadSpec( @JacksonInject CassandraDataSegmentPuller puller, @JsonProperty("key") String key ) { this.puller = puller; this.key = key; } @Override public LoadSpecResult loadSegment(File outDir) throws SegmentLoadingException { return new LoadSpecResult(puller.getSegmentFiles(key, outDir).size()); } }
@JsonIgnoreProperties(ignoreUnknown = true) @JsonTypeName("commandStatuses") @JsonTypeInfo( include = JsonTypeInfo.As.WRAPPER_OBJECT, use = JsonTypeInfo.Id.NAME) @JsonSubTypes({}) public class CommandStatuses extends HashMap<CommandId, CommandStatus.Status> { @JsonCreator public CommandStatuses(final Map<CommandId, CommandStatus.Status> statuses) { super(statuses); } public static CommandStatuses fromFullStatuses(final Map<CommandId, CommandStatus> fullStatuses) { final Map<CommandId, CommandStatus.Status> statuses = fullStatuses.entrySet().stream().collect( Collectors.toMap(Map.Entry::getKey, entry -> entry.getValue().getStatus()) ); return new CommandStatuses(statuses); } }
@JsonTypeName(value = "index") @JsonTypeInfo(include = JsonTypeInfo.As.WRAPPER_OBJECT, use = JsonTypeInfo.Id.NAME) @JsonIgnoreProperties(ignoreUnknown = true, value = {"_version", "result", "_shards", "_primary_term", "_seq_no"}) public abstract class BulkResultItemMixIn { @JsonProperty("_id") String id; @JsonProperty("_type") String type; @JsonProperty("_index") String index; @JsonProperty("error") BulkError bulkError; }
@JsonTypeName(GoogleStorageDruidModule.SCHEME) public class GoogleLoadSpec implements LoadSpec @JsonProperty private final String bucket; @JsonProperty private final String path;
@JsonIgnoreProperties(ignoreUnknown = true) @JsonTypeInfo(include = JsonTypeInfo.As.WRAPPER_OBJECT, use = JsonTypeInfo.Id.NAME) @JsonTypeName("KsqlServerInfo") @JsonSubTypes({}) public class ServerInfo {
@JsonTypeName(AzureStorageDruidModule.SCHEME) public class AzureLoadSpec implements LoadSpec @JsonProperty private final String containerName; @JsonProperty private final String blobPath;
@XmlRootElement(name = "link") @XmlAccessorType(XmlAccessType.PUBLIC_MEMBER) @JsonRootName("link") @JsonTypeName("link") @JsonInclude(Include.NON_EMPTY) @JsonTypeInfo(include = As.WRAPPER_OBJECT, use = Id.NAME) @Schema(description = "Represents an association to another resource in the system", title = "link") public class Link<T> {
@JsonTypeName("lower") public class LowerExtractionFn extends DimExtractionFn @JsonProperty private final String localeString;
@XmlRootElement(name = "department") @XmlAccessorType(XmlAccessType.PUBLIC_MEMBER) @JsonRootName("department") @JsonTypeName("department") @JsonInclude(Include.NON_EMPTY) @JsonTypeInfo(include = As.WRAPPER_OBJECT, use = Id.NAME) @Schema(description = "Represents a Department in the system", title = "department") public class Department {
@JsonTypeName("query") public class QueryDataSource implements DataSource @JsonProperty private final Query query;
@XmlRootElement(name = "employee") @XmlAccessorType(XmlAccessType.PUBLIC_MEMBER) @JsonRootName("employee") @JsonTypeName("employee") @JsonInclude(Include.NON_EMPTY) @JsonTypeInfo(include = As.WRAPPER_OBJECT, use = Id.NAME) @Schema(description = "Represents an Employee in the system", title = "employee") public class Employee {
@JsonTypeName("upper") public class UpperExtractionFn extends DimExtractionFn @JsonProperty private final String localeString;
@JsonTypeInfo(use= JsonTypeInfo.Id.NAME, include= JsonTypeInfo.As.WRAPPER_OBJECT) @JsonTypeName("bean") public class Jackson2Bean { private final String property; public Jackson2Bean(String property) { this.property = property; } public String getProperty() { return property; } }
@JsonTypeName("table") public class TableDataSource implements DataSource @JsonProperty private final String name;
/** * A condition for the delivery rule. */ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "name") @JsonTypeName("DeliveryRuleCondition") @JsonSubTypes({ @JsonSubTypes.Type(name = "UrlPath", value = DeliveryRuleUrlPathCondition.class), @JsonSubTypes.Type(name = "UrlFileExtension", value = DeliveryRuleUrlFileExtensionCondition.class) }) public class DeliveryRuleCondition { }
@JsonTypeName("org.dataportability:TempTasksData") public class TempTasksData extends DataModel { @JsonProperty("jobId") private final String jobId; @JsonProperty("newTaskListIds") private final Map<String, String> newTaskListIds; public TempTasksData(@JsonProperty("jobId") String jobId) { this.jobId = jobId; this.newTaskListIds = new HashMap<>(); } public void addTaskListId(String oldTaskListId, String newTaskListId) { newTaskListIds.put(oldTaskListId, newTaskListId); } public String lookupNewTaskListId(String oldTaskListId) { return newTaskListIds.getOrDefault(oldTaskListId, ""); } }
/** * An action for the delivery rule. */ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "name") @JsonTypeName("DeliveryRuleAction") @JsonSubTypes({ @JsonSubTypes.Type(name = "CacheExpiration", value = DeliveryRuleCacheExpirationAction.class) }) public class DeliveryRuleAction { }
@JsonTypeName(CloudFilesStorageDruidModule.SCHEME) public class CloudFilesLoadSpec implements LoadSpec @JsonProperty private final String region; @JsonProperty private final String container; @JsonProperty private final String path;
/** * An action for the delivery rule. */ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "name") @JsonTypeName("DeliveryRuleAction") @JsonSubTypes({ @JsonSubTypes.Type(name = "CacheExpiration", value = DeliveryRuleCacheExpirationAction.class) }) public class DeliveryRuleAction { }
@JsonTypeName("org.dataportability:TempCalendarData") public class TempPhotoData extends DataModel { @JsonProperty("jobId") private final String jobId;