index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/CDataSectionParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/CommentOutput.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/CommentParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/DoctypeDeclParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/DocumentParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/NameParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/PIOutput.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/PIParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/ReferenceParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/TagContentParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/TagEndParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/TagStartParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/Xml.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/XmlDeclParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/XmlParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/XmlStructureParser.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/swim/swim-xml/3.10.0/swim | java-sources/ai/swim/swim-xml/3.10.0/swim/xml/package-info.java | // Copyright 2015-2019 SWIM.AI inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/auth/Credentials.java | package io.taskmonk.auth;
interface Credentials {
}
|
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/auth/OAuthClientCredentials.java | package io.taskmonk.auth;
public class OAuthClientCredentials {
String clientId;
String clientSecret;
public OAuthClientCredentials(String clientId, String clientSecret) {
this.clientId = clientId;
this.clientSecret = clientSecret;
}
public String getClientId() {
return cli... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/auth/TokenResponse.java | package io.taskmonk.auth;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
public class TokenResponse {
private static final Logger logger = LoggerFactory.getLogger(TokenResponse.class);
String token_type;
String a... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/client/TaskMonkClient.java | package io.taskmonk.client;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.taskmonk.auth.OAuthClientCredentials;
import io.taskmonk.auth.TokenResponse;
import io.taskmonk.clientexceptions.*;
import io.taskmonk.entities.*;
import io.taskmonk.http.Redi... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/clientexceptions/ForbiddenException.java | package io.taskmonk.clientexceptions;
public class ForbiddenException extends Exception {
String message;
public ForbiddenException(String message) {
this.message= message;
}
}
|
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/clientexceptions/InternalServerError.java | package io.taskmonk.clientexceptions;
public class InternalServerError extends Exception {
String message;
public InternalServerError(String message) {
this.message= message;
}
}
|
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/clientexceptions/NotFoundException.java | package io.taskmonk.clientexceptions;
public class NotFoundException extends Exception {
String message;
public NotFoundException(String message) {
this.message= message;
}
}
|
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/clientexceptions/StatusConstants.java | package io.taskmonk.clientexceptions;
public class StatusConstants {
public enum StatusCode {
FORBIDDEN(403, "Forbidden"),
UNAUTHORIZED(401, "Unauthorised Access"),
INTERNALSERVERERROR(500, "An internal server error occured"),
NOTFOUND(404, " Object not found"),
UNHANDLED... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/clientexceptions/UnhandledException.java | package io.taskmonk.clientexceptions;
public class UnhandledException extends Exception {
String message;
public UnhandledException(String message) {
this.message= message;
}
}
|
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/ApiResponse.java | package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
* Bean providing job response details
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiResponse {
public Boolean status;
public String message;
public ApiResponse() {
}
public ApiRespo... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/BatchHistory.java | package io.taskmonk.entities;
public class BatchHistory {
/**
* This is the id of the batch for which the history is to be fetched.
*/
String batch_id;
/**
* The last saved state for the batch.
*/
String state;
/**
* Time at which the state change was recorded.
*/
... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/BatchOutput.java | package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class BatchOutput {
String fileUrl;
String jobId;
public BatchOutput() {
}
@JsonProperty("file_url... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/BatchState.java | package io.taskmonk.entities;
/**
*
* Returns a state for the batch. The supported state are:
*<p></p>
* "ACTIVE" - The batch is being worked on by the analysts
*<p></p>
* "PENDING" - Work has not started on the batch
*<p></p>
* "SCHEDULED" - A start time for the batch has been set and will be worked on after ... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/BatchStatus.java | package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
* Status of a batch
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class BatchStatus {
/**
* Number of tasks in progress.
*/
Integer in_progress;
/**
* Number of tasks in the batch that ... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/Id.java | package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Id {
public String id;
public Id() {
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/ImportUrl.java | package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class ImportUrl {
private String file_url;
private String file_type;
/**
* set the import settings
* @param fileUrl - path to url with the input file
... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/JobProgressResponse.java | package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
* Bean providing job response details
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class JobProgressResponse {
public Integer completed;
public Integer total;
public Integer percentage;
public In... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/NewBatchData.java |
package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Class used for creating and editing batch properties
*/
@JsonIgnoreProperties(ignoreUnkn... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/Notification.java | package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.Map;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Notification {
String notificationType;
Map<String, String> metaData;
public String getNotificationType() {
return notificati... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/Page.java | package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Page<T> {
/**
* The page number for the paginated result. The first page number wi... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/Task.java | package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/TaskImportResponse.java | package io.taskmonk.entities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The response object on importing tasks to a batch. Contains the job_id which should be used in a consequent
* {@link io.taskmonk.client.TaskMonkClient#getJobProgre... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/entities/TaskQueryParams.java | package io.taskmonk.entities;
import org.apache.commons.lang3.StringUtils;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Class used to specify the tasks that ... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/http/RedirectStrategy.java | package io.taskmonk.http;
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. ... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/MessageAction.java | package io.taskmonk.streaming;
/**
* An indication of how the message should be handled in the queue
* <p>
* COMPLETE - The message processing is complete and can be removed from the queue
*<p>
* ABANDON - The message processing failed. The message remains in the queue and will be attempted again
*/
public enum ... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/MessageListener.java | package io.taskmonk.streaming;
import io.taskmonk.entities.BatchStatus;
import io.taskmonk.entities.Task;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Interface for handling messages from Taskmonk
*/
public interface MessageListener {
public static final Logger logger = LoggerFactory.getLogger... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/StreamListener.java | package io.taskmonk.streaming;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.microsoft.azure.servicebus.primitives.ServiceBusException;
import io.taskmonk.entities.BatchStatus;
import io.taskmonk.entities.Task;
import io.taskmonk.streaming.azure.MessageH... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/StreamWriter.java | package io.taskmonk.streaming;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.taskmonk.entities.Task;
import io.taskmonk.streaming.impl.MessageStreamWriter;
import io.taskmonk.streaming.impl.NewTasks;
import java.util.List;
import java.util.Map;
import java.util.UUID;
/**
* Class to send messages ups... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/azure/AzureQueueMessageHandler.java | package io.taskmonk.streaming.azure;
import com.microsoft.azure.servicebus.*;
import io.taskmonk.streaming.MessageAction;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.nio.charset.StandardCharsets;
import java.util.concurrent.CompletableFuture;
public class AzureQueueMessageHandler implements ... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/azure/MessageHandler.java | package io.taskmonk.streaming.azure;
import io.taskmonk.streaming.MessageAction;
import java.io.IOException;
public interface MessageHandler {
public MessageAction handle(String message) throws IOException;
}
|
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/azure/ServiceBusListener.java | package io.taskmonk.streaming.azure;
import com.microsoft.azure.servicebus.IMessageHandler;
import com.microsoft.azure.servicebus.MessageHandlerOptions;
import com.microsoft.azure.servicebus.QueueClient;
import com.microsoft.azure.servicebus.ReceiveMode;
import com.microsoft.azure.servicebus.primitives.ConnectionString... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/azure/ServiceBusSendInterface.java | package io.taskmonk.integrations.azure;
import com.microsoft.azure.servicebus.Message;
import com.microsoft.azure.servicebus.QueueClient;
import com.microsoft.azure.servicebus.ReceiveMode;
import com.microsoft.azure.servicebus.primitives.ConnectionStringBuilder;
import com.microsoft.azure.servicebus.primitives.Service... |
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/impl/MessageStreamListener.java | package io.taskmonk.streaming.impl;
import io.taskmonk.streaming.azure.ServiceBusListener;
public class MessageStreamListener extends ServiceBusListener {
public MessageStreamListener(String queueName, String accessKey) {
super(queueName, accessKey);
}
}
|
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/impl/MessageStreamWriter.java | package io.taskmonk.streaming.impl;
public class MessageStreamWriter extends io.taskmonk.integrations.azure.ServiceBusSendInterface {
public MessageStreamWriter(String queueName, String accessKey) {
super(queueName, accessKey);
}
}
|
0 | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming | java-sources/ai/taskmonk/taskmonk-sdk/1.16.6/io/taskmonk/streaming/impl/NewTasks.java | package io.taskmonk.streaming.impl;
import io.taskmonk.entities.Task;
import java.util.List;
import java.util.Map;
public class NewTasks {
public String project_id;
public String batch_id;
public List<Task> tasks;
}
|
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/TectonClient.java | package ai.tecton.client;
import ai.tecton.client.exceptions.BadRequestException;
import ai.tecton.client.exceptions.ForbiddenException;
import ai.tecton.client.exceptions.GatewayTimeoutException;
import ai.tecton.client.exceptions.InternalServerErrorException;
import ai.tecton.client.exceptions.ResourceExhaustedExcep... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/TectonClientOptions.java | package ai.tecton.client;
import java.time.Duration;
/**
* A class that provides custom configuration options for the underlying Http Client. The Client
* currently supports customizing the following configurations:
*
* <ul>
* <li><a
* href="https://square.github.io/okhttp/4.x/okhttp/okhttp3/-ok-http-cl... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/BadRequestException.java | package ai.tecton.client.exceptions;
/**
* An exception class representing a client error caused by a bad request. This exception is
* typically thrown when the client's request is malformed or contains invalid data, resulting in a
* "400 Bad Request" HTTP response status. It extends the {@link TectonClientExceptio... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/ForbiddenException.java | package ai.tecton.client.exceptions;
/**
* An exception class representing a client error caused by forbidden access. This exception is
* typically thrown when the API Key in the request is authenticated, but the Service Account
* associated with the API Key is not authorized to access the workspace, resulting in a... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/GatewayTimeoutException.java | package ai.tecton.client.exceptions;
/**
* An exception class representing a client error caused by a gateway timeout. This exception is
* typically thrown when a server acting as a gateway or proxy did not receive a timely response
* from the Feature Server, resulting in a "504 Gateway Timeout" HTTP response statu... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/HttpStatusExceptionFactory.java | package ai.tecton.client.exceptions;
import java.util.Optional;
/** An exception factory that maps HTTP Status code to a custom Exception */
public class HttpStatusExceptionFactory {
public static Optional<TectonException> createException(int statusCode, String errorMessage) {
switch (statusCode) {
case ... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/InternalServerErrorException.java | package ai.tecton.client.exceptions;
/**
* An exception class representing a server error caused by an internal server failure. This
* exception is typically thrown when an unexpected error occurs on the server, resulting in a "500
* Internal Server Error" HTTP response status. It extends the {@link TectonServiceEx... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/InvalidRequestParameterException.java | package ai.tecton.client.exceptions;
/**
* An exception class representing a client error caused by a misconfigured request, such as missing
* workspace name, missing feature service name etc. It extends the {@link TectonClientException}
* class.
*/
public class InvalidRequestParameterException extends TectonClien... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/ResourceExhaustedException.java | package ai.tecton.client.exceptions;
/**
* An exception class representing a client error caused by resource exhaustion. This exception
* indicates that request rate exceeds the concurrent request limit set for your deployment,
* resulting in a "429 Too Many Requests" HTTP response status. It extends the {@link
* ... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/ResourceNotFoundException.java | package ai.tecton.client.exceptions;
/**
* An exception class representing a client error caused by a resource not being found. This
* exception is typically thrown when the request references a workspace, feature service or other
* resources that do not exist in Tecton, resulting in a "404 Not Found" HTTP response... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/ServiceUnavailableException.java | package ai.tecton.client.exceptions;
/**
* An exception class representing a server error caused by a temporarily unavailable service. This
* exception is typically thrown when the Tecton is temporarily unable to handle the client's
* request due to being overloaded or undergoing maintenance, resulting in a "503 Se... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/TectonClientException.java | package ai.tecton.client.exceptions;
/**
* Exception class that is used to represent various client side errors, such as bad request
* parameters, unauthorized requests etc.
*/
public class TectonClientException extends TectonException {
public TectonClientException(String errorMessage) {
super(errorMessage)... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/TectonErrorMessage.java | package ai.tecton.client.exceptions;
/**
* Class that declares all the different error messages included in the {@link
* TectonClientException}
*/
public class TectonErrorMessage {
public static final String INVALID_KEY = "API Key cannot be empty";
public static final String INVALID_URL = "Cannot connect to Tec... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/TectonException.java | package ai.tecton.client.exceptions;
import java.util.Optional;
/** Base class that is used to represent various errors encountered by the Java client. */
public class TectonException extends RuntimeException {
int statusCode;
public TectonException(String errorMessage) {
super(errorMessage);
}
public T... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/TectonServiceException.java | package ai.tecton.client.exceptions;
/**
* Exception class that is used to represent server side errors. This includes Internal Server
* Errors, Gateway Timeouts etc
*/
public class TectonServiceException extends TectonException {
public TectonServiceException(String errorMessage) {
super(errorMessage);
}
... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/UnauthorizedException.java | package ai.tecton.client.exceptions;
/**
* An exception class representing a client error caused by unauthorized access. This exception is
* typically thrown when the API Key in the request is missing or invalid, resulting in a "401
* Unauthorized" HTTP response status. It extends the {@link TectonClientException} ... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/exceptions/package-info.java | /** This package contains exception classes with error messages for Tecton Client */
package ai.tecton.client.exceptions;
|
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/model/FeatureServiceMetadata.java | package ai.tecton.client.model;
import ai.tecton.client.request.GetFeaturesRequest;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.function.Function;
import java.util.stream.Collectors;
/**
* Class that encapsulates metadata for a FeatureService, including the schema for join... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/model/FeatureStatus.java | package ai.tecton.client.model;
import java.util.Arrays;
import java.util.Optional;
import org.apache.commons.lang3.StringUtils;
/**
* Enum that represents the different feature statuses that can be returned when requesting feature
* values.
*/
public enum FeatureStatus {
/** Feature value is present and returne... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/model/FeatureValue.java | package ai.tecton.client.model;
import ai.tecton.client.exceptions.TectonClientException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import java.time.Instant;
import java.time.OffsetDateTime;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import org.apache... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/model/ListDataType.java | package ai.tecton.client.model;
import ai.tecton.client.exceptions.TectonClientException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
@SuppressWarnings("unchecked")
class ListDataType {
List<... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/model/MetadataOption.java | package ai.tecton.client.model;
import org.apache.commons.lang3.StringUtils;
/**
* Enum representing options for different metadata information that can be requested from the
* FeatureService API
*/
public enum MetadataOption {
/** Include feature name in the response */
NAME("include_names"),
/** Include fe... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/model/NameAndType.java | package ai.tecton.client.model;
import java.util.Objects;
import java.util.Optional;
/** Class that represents the return types for parameters of FeatureServiceMetadata */
public class NameAndType {
String name;
ValueType dataType;
ValueType listElementType;
/**
* Constructor that creates a NameAndType w... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/model/SloInformation.java | package ai.tecton.client.model;
import java.util.Collections;
import java.util.Objects;
import java.util.Optional;
import java.util.Set;
/**
* Class that represents SLO Info provided by Tecton when serving feature values. All values
* returned are wrapped in {@link }
*/
public class SloInformation {
private Boo... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/model/ValueType.java | package ai.tecton.client.model;
import java.util.Arrays;
import java.util.Optional;
import org.apache.commons.lang3.StringUtils;
/** Enum that represents the different data types (primitive or custom) of feature values */
public enum ValueType {
/** java.lang.Boolean */
BOOLEAN("boolean"),
/** java.lang.Long */... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/model/package-info.java | /**
* This package contains classes modeling the various types representing the results from the
* FeatureService API
*/
package ai.tecton.client.model;
|
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/request/AbstractGetFeaturesRequest.java | package ai.tecton.client.request;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import ai.tecton.client.exceptions.InvalidRequestParameterException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.model.MetadataOption;
import ai.tecton.client.transport.TectonHttpClient.Htt... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/request/AbstractTectonRequest.java | package ai.tecton.client.request;
import ai.tecton.client.exceptions.InvalidRequestParameterException;
import ai.tecton.client.exceptions.TectonClientException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.transport.TectonHttpClient;
import java.util.Objects;
import org.apache.commons... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/request/GetFeatureServiceMetadataRequest.java | package ai.tecton.client.request;
import ai.tecton.client.exceptions.InvalidRequestParameterException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.transport.TectonHttpClient;
import com.squareup.moshi.JsonAdapter;
import com.squareup.moshi.Moshi;
/**
* A subclass of {@link Abstract... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/request/GetFeaturesBatchRequest.java | package ai.tecton.client.request;
import ai.tecton.client.exceptions.InvalidRequestParameterException;
import ai.tecton.client.exceptions.TectonClientException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.model.MetadataOption;
import ai.tecton.client.transport.TectonHttpClient;
impor... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/request/GetFeaturesRequest.java | package ai.tecton.client.request;
import ai.tecton.client.exceptions.InvalidRequestParameterException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.model.MetadataOption;
import com.squareup.moshi.JsonAdapter;
import com.squareup.moshi.Moshi;
import java.util.HashSet;
import java.util.... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/request/GetFeaturesRequestData.java | package ai.tecton.client.request;
import ai.tecton.client.exceptions.InvalidRequestParameterException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import org.apache.commons.lang3.Validate;
/** Class that... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/request/RequestConstants.java | package ai.tecton.client.request;
import ai.tecton.client.model.MetadataOption;
import java.time.Duration;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.Set;
/**
* Class that provides static constants that can be used as default parameters to various Request
* objects... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/request/RequestOptions.java | package ai.tecton.client.request;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
/**
* Class that represents request-level options to control feature server behavior. These options are
* sent as part of the requestOptions field in GetFeatures and GetFeaturesBatch requests. Option
* value... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/request/package-info.java | /** This package contains classes modeling the different requests to the FeatureService API */
package ai.tecton.client.request;
|
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/response/AbstractTectonResponse.java | package ai.tecton.client.response;
import ai.tecton.client.model.ValueType;
import java.time.Duration;
import java.util.Optional;
/** An abstract parent class for Tecton FeatureService API Response subclasses. */
abstract class AbstractTectonResponse {
private final Duration requestLatency;
AbstractTectonRespon... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/response/GetFeatureServiceMetadataResponse.java | package ai.tecton.client.response;
import ai.tecton.client.exceptions.TectonClientException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.model.FeatureServiceMetadata;
import ai.tecton.client.model.NameAndType;
import ai.tecton.client.model.ValueType;
import com.squareup.moshi.JsonAda... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/response/GetFeaturesBatchResponse.java | package ai.tecton.client.response;
import ai.tecton.client.exceptions.TectonClientException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.model.FeatureValue;
import ai.tecton.client.model.SloInformation;
import ai.tecton.client.response.GetFeaturesResponseUtils.FeatureMetadata;
import... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/response/GetFeaturesResponse.java | package ai.tecton.client.response;
import ai.tecton.client.exceptions.TectonClientException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.model.FeatureStatus;
import ai.tecton.client.model.FeatureValue;
import ai.tecton.client.model.SloInformation;
import com.squareup.moshi.JsonAdapte... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/response/GetFeaturesResponseUtils.java | package ai.tecton.client.response;
import ai.tecton.client.exceptions.TectonClientException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.model.FeatureStatus;
import ai.tecton.client.model.FeatureValue;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import or... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/response/package-info.java | /** This package contains classes representing the high-level responses from FeatureService API */
package ai.tecton.client.response;
|
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/transport/HttpRequest.java | package ai.tecton.client.transport;
import okhttp3.HttpUrl;
import org.apache.commons.lang3.StringUtils;
class HttpRequest {
HttpUrl url;
TectonHttpClient.HttpMethod method;
String jsonBody;
String apiKey;
HttpRequest(
String baseUrl,
String endpoint,
TectonHttpClient.HttpMethod method,
... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/transport/HttpResponse.java | package ai.tecton.client.transport;
import ai.tecton.client.exceptions.HttpStatusExceptionFactory;
import ai.tecton.client.exceptions.TectonClientException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.exceptions.TectonException;
import ai.tecton.client.exceptions.TectonServiceExcepti... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/transport/TectonHttpClient.java | package ai.tecton.client.transport;
import ai.tecton.client.TectonClientOptions;
import ai.tecton.client.exceptions.TectonClientException;
import ai.tecton.client.exceptions.TectonErrorMessage;
import ai.tecton.client.exceptions.TectonServiceException;
import ai.tecton.client.version.Version;
import java.io.IOExceptio... |
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/transport/package-info.java | /**
* This package contains implementation of an HTTP Client using OkHttp library from Square.
*
* @see <a href="https://square.github.io/okhttp/">https://square.github.io/okhttp//</a>
*/
package ai.tecton.client.transport;
|
0 | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client | java-sources/ai/tecton/java-client/0.9.3/ai/tecton/client/version/Version.java | // Generated by Maven templating plugin. Do not modify this file directly.
package ai.tecton.client.version;
public class Version {
public static final String VERSION = "0.9.3";
}
|
0 | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test/sdk/CollectionUtils.java | package ai.test.sdk;
import java.util.HashMap;
/**
* Shared classes and methods enhancing collections functionality.
*
* @author Alexander Wu (alec@test.ai)
*
*/
final class CollectionUtils
{
/**
* Builds a {@code HashMap} out of a list of {@code String}s. Pass in values such that {@code [ k1, v1, k2, v2, k3... |
0 | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test/sdk/JsonUtils.java | package ai.test.sdk;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import okhttp3.Response;
/**
* Shared utility methods for common tasks
*
* @author Alexander Wu (alec@test.ai)
*
*/
final class JsonUtils
{
/**
* The logger fo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.