com.questdb.cairo.CairoConfiguration Maven / Gradle / Ivy
/*******************************************************************************
* ___ _ ____ ____
* / _ \ _ _ ___ ___| |_| _ \| __ )
* | | | | | | |/ _ \/ __| __| | | | _ \
* | |_| | |_| | __/\__ \ |_| |_| | |_) |
* \__\_\\__,_|\___||___/\__|____/|____/
*
* Copyright (C) 2014-2019 Appsicle
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*
******************************************************************************/
package com.questdb.cairo;
import com.questdb.std.FilesFacade;
import com.questdb.std.microtime.MicrosecondClock;
import com.questdb.std.time.MillisecondClock;
public interface CairoConfiguration {
int getCreateAsSelectRetryCount();
CharSequence getDefaultMapType();
boolean getDefaultSymbolCacheFlag();
int getDefaultSymbolCapacity();
int getFileOperationRetryCount();
FilesFacade getFilesFacade();
long getIdleCheckInterval();
long getInactiveReaderTTL();
long getInactiveWriterTTL();
int getIndexValueBlockSize();
int getMaxNumberOfSwapFiles();
MicrosecondClock getMicrosecondClock();
MillisecondClock getMillisecondClock();
int getMkDirMode();
int getParallelIndexThreshold();
int getReaderPoolSegments();
CharSequence getRoot();
long getSpinLockTimeoutUs();
int getSqlCacheBlockCount();
int getSqlCacheBlockSize();
int getSqlCharacterStoreCapacity();
int getSqlCharacterStorePoolCapacity();
int getSqlColumnPoolCapacity();
double getSqlCompactMapLoadFactor();
int getSqlExpressionPoolCapacity();
double getSqlFastMapLoadFactor();
int getSqlJoinContextPoolCapacity();
int getSqlLexerPoolCapacity();
int getSqlMapKeyCapacity();
int getSqlMapPageSize();
int getSqlModelPoolCapacity();
int getSqlSortKeyPageSize();
int getSqlSortLightValuePageSize();
int getSqlHashJoinValuePageSize();
int getSqlTreePageSize();
int getSqlHashJoinLightValuePageSize();
int getSqlSortValuePageSize();
long getWorkStealTimeoutNanos();
boolean isParallelIndexingEnabled();
/**
* This holds table metadata, which is usually quite small. 16K page should be adequate.
*
* @return memory page size
*/
int getSqlJoinMetadataPageSize();
}