All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.deephaven.client.impl.FlightSessionConfig Maven / Gradle / Ivy

There is a newer version: 0.37.1
Show newest version
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.client.impl;

import io.deephaven.annotations.BuildableStyle;
import org.apache.arrow.memory.BufferAllocator;
import org.immutables.value.Value.Immutable;

import java.util.Optional;

@Immutable
@BuildableStyle
public abstract class FlightSessionConfig {

    public static Builder builder() {
        return ImmutableFlightSessionConfig.builder();
    }

    /**
     * The session config.
     */
    public abstract Optional sessionConfig();

    /**
     * The allocator.
     */
    public abstract Optional allocator();

    public interface Builder {

        Builder sessionConfig(SessionConfig sessionConfig);

        Builder allocator(BufferAllocator allocator);

        FlightSessionConfig build();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy