public FunctionSignature(FunctionType type, String name, DataType returnType, @NotNull DataType... params) { this.functionType = type; this.name = name; this.returnType = returnType; this.paramTypes = params; }
public FunctionSignature(FunctionType type, String name, DataType returnType, @NotNull DataType... params) { this.functionType = type; this.name = name; this.returnType = returnType; this.paramTypes = params; }
public FunctionSignature(FunctionType type, String name, DataType returnType, boolean deterministic, @NotNull DataType... params) { this(type, name, returnType, params); this.deterministic = deterministic; }
int getDegree(@NotNull V v); }
Collection<E> getEdges(@NotNull V v);
int getDegree(@NotNull V v); }
Collection<E> getEdges(@NotNull V v);
public FunctionDesc(String signature, String className, FunctionType type, DataType retType, @NotNull DataType... argTypes) throws ClassNotFoundException { this(signature, (Class<? extends Function>) Class.forName(className), type, retType, argTypes); }
public FunctionDesc(String signature, String className, FunctionType type, DataType retType, @NotNull DataType... argTypes) throws ClassNotFoundException { this(signature, (Class<? extends Function>) Class.forName(className), type, retType, argTypes); }
private static <T extends CatalogStore> String getCatalogURI(@NotNull Class<T> clazz, @Nullable String schemeSpecificPart, @NotNull String testDirPath) throws UnsupportedCatalogStore { String uriScheme = getCatalogURIScheme(clazz); StringBuilder sb = new StringBuilder("jdbc:").append(uriScheme).append(":"); if (schemeSpecificPart != null) { sb.append(schemeSpecificPart).append(":"); } sb.append(testDirPath).append("/db;create=true"); return sb.toString(); }
public FunctionDesc(String signature, Class<? extends Function> clazz, FunctionType funcType, DataType retType, @NotNull DataType [] params) { this.signature = new FunctionSignature(funcType, signature.toLowerCase(), retType, params); this.invocation = new FunctionInvocation(); this.invocation.setLegacy(new ClassBaseInvocationDesc<Function>(clazz)); this.supplement = new FunctionSupplement(); }
public FunctionDesc(String funcName, Class<? extends Function> clazz, FunctionType funcType, DataType retType, @NotNull DataType [] params) { this.signature = new FunctionSignature(funcType, funcName.toLowerCase(), retType, params); this.invocation = new FunctionInvocation(); this.invocation.setLegacy(new ClassBaseInvocationDesc<>(clazz)); this.supplement = new FunctionSupplement(); }
public static List<List<FetchProto>> splitOrMergeIntermediates(@NotNull String fetchName, ExecutionBlockId ebId, List<IntermediateEntry> entries, long splitVolume, long pageSize) {
public static List<List<FetchProto>> splitOrMergeIntermediates(@NotNull String fetchName, ExecutionBlockId ebId, List<IntermediateEntry> entries, long splitVolume, long pageSize) {
/** * Connect to TajoMaster * * @param tracker TajoMaster address * @param baseDatabase The base database name. It is case sensitive. If it is null, * the 'default' database will be used. * @param properties configurations * @throws SQLException */ public SessionConnection(@NotNull ServiceTracker tracker, @Nullable String baseDatabase, @NotNull KeyValueSet properties) { this.serviceTracker = tracker; this.baseDatabase = baseDatabase; this.properties = properties; this.manager = RpcClientManager.getInstance(); this.userInfo = UserRoleInfo.getCurrentUser(); // update the connection parameters to RPC client from connection properties this.clientParams = ClientParameterHelper.getConnParams(properties.getAllKeyValus().entrySet()); this.eventLoopGroup = NettyUtils.createEventLoopGroup(getClass().getSimpleName(), 4); try { this.client = getTajoMasterConnection(); } catch (TajoRuntimeException e) { NettyUtils.shutdown(eventLoopGroup); throw e; } // update the session variables from connection parameters updateSessionVariables(ClientParameterHelper.getSessionVars(properties.getAllKeyValus().entrySet())); }
/** * Connect to TajoMaster * * @param tracker TajoMaster address * @param baseDatabase The base database name. It is case sensitive. If it is null, * the 'default' database will be used. * @param properties configurations * @throws SQLException */ public SessionConnection(@NotNull ServiceTracker tracker, @Nullable String baseDatabase, @NotNull KeyValueSet properties) { this.serviceTracker = tracker; this.baseDatabase = baseDatabase; this.properties = properties; this.manager = RpcClientManager.getInstance(); this.userInfo = UserRoleInfo.getCurrentUser(); // update the connection parameters to RPC client from connection properties this.clientParams = ClientParameterHelper.getConnParams(properties.getAllKeyValus().entrySet()); this.eventLoopGroup = NettyUtils.createEventLoopGroup(getClass().getSimpleName(), 4); try { this.client = getTajoMasterConnection(); } catch (TajoRuntimeException e) { NettyUtils.shutdown(eventLoopGroup); throw e; } // update the session variables from connection parameters updateSessionVariables(ClientParameterHelper.getSessionVars(properties.getAllKeyValus().entrySet())); }