Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fluss
/ functions
Functions
18,774 in github.com/apache/fluss
⨍
Functions
18,774
◇
Types & classes
3,137
↓ 20 callers
Method
parseLong
Safely parses the specified string as a long and returns the value. If a NumberFormatException occurs while parsing the long, an error is logged and -
fluss-filesystems/fluss-fs-s3/src/main/java/com/amazonaws/services/s3/model/transform/XmlResponsesSaxParser.java:350
↓ 20 callers
Method
randomName
()
fluss-common/src/test/java/org/apache/fluss/fs/FileSystemBehaviorTestSuite.java:303
↓ 20 callers
Method
readByte
Reads and returns one input byte. The byte is treated as a signed value in the range {@code -128} through {@code 127}, inclusive. This method is suita
fluss-common/src/main/java/org/apache/fluss/memory/InputView.java:54
↓ 20 callers
Method
registerCloseable
(final Closeable closeable)
fluss-common/src/test/java/org/apache/fluss/utils/CloseableRegistryTest.java:38
↓ 20 callers
Method
slice
Return a slice of records from this instance, which is a view into this set starting from the given position and with the given size limit. <p>If the
fluss-common/src/main/java/org/apache/fluss/record/FileLogRecords.java:140
↓ 20 callers
Method
startTabletServer
Start a new tablet server.
fluss-server/src/test/java/org/apache/fluss/server/testutils/FlussClusterExtension.java:297
↓ 20 callers
Method
toIntArray
()
fluss-common/src/main/java/org/apache/fluss/row/InternalArray.java:63
↓ 20 callers
Method
tryAppend
try to append one write record to the record batch. @param writeRecord the record to write @param callback the callback to send back to writer @retur
fluss-client/src/main/java/org/apache/fluss/client/write/WriteBatch.java:81
↓ 20 callers
Method
tryStoreOffsets
Atomically stores a new producer offset snapshot. <p>This method first writes offset files to remote storage, then attempts to atomically create the
fluss-server/src/main/java/org/apache/fluss/server/coordinator/producer/ProducerOffsetsStore.java:109
↓ 19 callers
Method
acquire
(String leaseId, Map<Long, List<TableBucketSnapshot>> tableIdToLeaseBucket)
fluss-server/src/test/java/org/apache/fluss/server/coordinator/lease/KvSnapshotLeaseManagerTest.java:507
↓ 19 callers
Method
assignment
( int downstreamParallelism, Map<String, Long> statistics)
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/shuffle/StatisticsOrRecordChannelComputer.java:159
↓ 19 callers
Method
create
Create a new RPC client that can be used to send requests to the {@link RpcServer}. @param conf The configuration to use. @param clientMetricGroup Th
fluss-rpc/src/main/java/org/apache/fluss/rpc/RpcClient.java:44
↓ 19 callers
Method
createLogTablet
(boolean isCleanShutdown)
fluss-server/src/test/java/org/apache/fluss/server/log/LogLoaderTest.java:630
↓ 19 callers
Method
defaultMethod
(DataType dataType)
fluss-common/src/main/java/org/apache/fluss/types/DataTypeDefaultVisitor.java:125
↓ 19 callers
Method
dropDatabase
Drop the database with the given name asynchronously. <p>The following exceptions can be anticipated when calling {@code get()} on returned future.
fluss-client/src/main/java/org/apache/fluss/client/admin/Admin.java:171
↓ 19 callers
Method
exception
Return an exception if the ACL delete was not successful or null if it was.
fluss-client/src/main/java/org/apache/fluss/client/admin/DropAclsResult.java:59
↓ 19 callers
Method
fromErrorMessage
(ErrorMessage msg)
fluss-rpc/src/main/java/org/apache/fluss/rpc/protocol/ApiError.java:63
↓ 19 callers
Method
getAggregators
()
fluss-server/src/main/java/org/apache/fluss/server/kv/rowmerger/aggregate/AggregationContext.java:107
↓ 19 callers
Method
getChangeType
()
fluss-client/src/main/java/org/apache/fluss/client/table/scanner/ScanRecord.java:60
↓ 19 callers
Method
getCluster
()
fluss-client/src/main/java/org/apache/fluss/client/metadata/MetadataUpdater.java:87
↓ 19 callers
Method
getColumnId
Returns the column ID of the auto-increment column that associated with this auto-increment ID range.
fluss-server/src/main/java/org/apache/fluss/server/kv/autoinc/AutoIncIDRange.java:45
↓ 19 callers
Method
getInt
Returns the value associated with the given config option as an integer. @param configOption The configuration option @return the (default) value ass
fluss-common/src/main/java/org/apache/fluss/config/Configuration.java:176
↓ 19 callers
Method
getKvFileHandle
()
fluss-server/src/main/java/org/apache/fluss/server/kv/snapshot/KvFileHandleAndLocalPath.java:44
↓ 19 callers
Method
getLakeCatalogContainer
()
fluss-server/src/main/java/org/apache/fluss/server/coordinator/LakeCatalogDynamicLoader.java:95
↓ 19 callers
Method
getLeaseCount
Returns the current count of open leases.
fluss-server/src/main/java/org/apache/fluss/server/utils/ResourceGuard.java:144
↓ 19 callers
Method
getLocalFsURI
Gets the URI that represents the local file system. That URI is {@code "file:/"} on Windows platforms and {@code "file:///"} on other UNIX family plat
fluss-common/src/main/java/org/apache/fluss/fs/local/LocalFileSystem.java:273
↓ 19 callers
Method
getOptional
(ConfigOption<T> option)
fluss-common/src/main/java/org/apache/fluss/config/Configuration.java:556
↓ 19 callers
Method
getOrCreateKv
( TablePath tablePath, @Nullable String partitionName, TableBucket tableBucket)
fluss-server/src/test/java/org/apache/fluss/server/kv/KvManagerTest.java:334
↓ 19 callers
Method
getOrEmpty
(String path)
fluss-server/src/main/java/org/apache/fluss/server/zk/ZooKeeperClient.java:169
↓ 19 callers
Method
getPrecision
(DecimalVector decimalVector)
fluss-common/src/main/java/org/apache/fluss/utils/ArrowUtils.java:603
↓ 19 callers
Method
getPrincipal
()
fluss-server/src/main/java/org/apache/fluss/server/entity/UserContext.java:33
↓ 19 callers
Method
getRemoteLogEndOffset
()
fluss-server/src/main/java/org/apache/fluss/server/log/remote/RemoteLogTablet.java:255
↓ 19 callers
Method
getReplicaState
(TableBucketReplica replica)
fluss-server/src/main/java/org/apache/fluss/server/coordinator/CoordinatorContext.java:381
↓ 19 callers
Method
getString
Returns the value associated with the given config option as a string. @param configOption The configuration option @return the (default) value assoc
fluss-common/src/main/java/org/apache/fluss/config/Configuration.java:133
↓ 19 callers
Method
getTablePathById
(long tableId)
fluss-server/src/main/java/org/apache/fluss/server/coordinator/CoordinatorContext.java:279
↓ 19 callers
Method
hashUnsafeBytesByWords
Hash unsafe bytes, length must be aligned to 4 bytes. @param base base unsafe object @param offset offset for unsafe object @param lengthInBytes leng
fluss-common/src/main/java/org/apache/fluss/utils/MurmurHashUtils.java:44
↓ 19 callers
Method
initLogTabletAndKvTablet
(Schema schema, Map<String, String> tableConfig)
fluss-server/src/test/java/org/apache/fluss/server/kv/KvTabletTest.java:144
↓ 19 callers
Method
isValid
Check whether the checksum of this batch is correct. @return true If so, false otherwise
fluss-common/src/main/java/org/apache/fluss/record/KvRecordBatch.java:43
↓ 19 callers
Method
iterator
()
fluss-client/src/test/java/org/apache/fluss/client/table/scanner/log/ScanRecordsTest.java:38
↓ 19 callers
Method
lastOffset
()
fluss-server/src/main/java/org/apache/fluss/server/log/LogAppendInfo.java:92
↓ 19 callers
Method
numReplicas
()
fluss-server/src/main/java/org/apache/fluss/server/coordinator/rebalance/model/ServerModel.java:71
↓ 19 callers
Method
open
Initialization method for the schema. It is called before the actual working methods {@link #serialize} and thus suitable for one time setup work. <p
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/serializer/FlussSerializationSchema.java:43
↓ 19 callers
Method
path
(TablePath tablePath)
fluss-server/src/main/java/org/apache/fluss/server/zk/data/ZkData.java:98
↓ 19 callers
Method
putRecordsToKv
Put kv records to leader replicas of the buckets, the kv data will write to kv tablet and the response callback need to wait for the cdc log to be rep
fluss-server/src/main/java/org/apache/fluss/server/replica/ReplicaManager.java:580
↓ 19 callers
Method
putRecordsToLeader
( Replica replica, KvRecordBatch kvRecords, int[] targetColumns)
fluss-server/src/test/java/org/apache/fluss/server/replica/ReplicaTest.java:870
↓ 19 callers
Method
ready
Get a list of nodes whose buckets are ready to be sent. <p>Also return the flag for whether there are any unknown leaders for the accumulated bucket
fluss-client/src/main/java/org/apache/fluss/client/write/RecordAccumulator.java:243
↓ 19 callers
Method
roll
Roll the local log over to a new active segment starting with the expectedNextOffset (when provided), or localLog.logEndOffset otherwise. This will tr
fluss-server/src/main/java/org/apache/fluss/server/log/LogTablet.java:865
↓ 19 callers
Method
toMap
()
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/adapter/MultipleParameterToolAdapter.java:43
↓ 19 callers
Method
valueArray
()
fluss-common/src/main/java/org/apache/fluss/row/BinaryMap.java:91
↓ 19 callers
Method
visit
(CharType charType)
fluss-common/src/main/java/org/apache/fluss/types/DataTypeVisitor.java:32
↓ 19 callers
Method
withNullability
(DataType flinkType, boolean nullable)
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/utils/FlussTypeToFlinkType.java:171
↓ 19 callers
Method
withNullability
(DataType paimon, boolean nullable)
fluss-lake/fluss-lake-paimon/src/main/java/org/apache/fluss/lake/paimon/utils/FlussDataTypeToPaimonDataType.java:163
↓ 19 callers
Method
writeDecimal
(int pos, Decimal value, int precision)
fluss-common/src/main/java/org/apache/fluss/row/BinaryWriter.java:75
↓ 18 callers
Method
append
Append the given messages starting with the given offset. Add an entry to the index if needed. <p>It is assumed this method is being called from with
fluss-server/src/main/java/org/apache/fluss/server/log/LogSegment.java:244
↓ 18 callers
Method
bucketEpoch
()
fluss-server/src/main/java/org/apache/fluss/server/zk/data/LeaderAndIsr.java:116
↓ 18 callers
Method
buildLazyMemorySegmentSource
( int maxPages, int pageSize, long maxTimeToBlockMs, int perRequestMemorySize)
fluss-common/src/test/java/org/apache/fluss/memory/LazyMemorySegmentPoolTest.java:589
↓ 18 callers
Method
contains
(TableBucket tableBucket)
fluss-client/src/main/java/org/apache/fluss/client/write/IdempotenceBucketMap.java:56
↓ 18 callers
Method
createMerger
(Schema schema, TableConfig tableConfig)
fluss-server/src/test/java/org/apache/fluss/server/kv/rowmerger/aggregate/FieldAggregatorParameterizedTest.java:793
↓ 18 callers
Method
createRootUserSession
()
fluss-server/src/test/java/org/apache/fluss/server/authorizer/DefaultAuthorizerTest.java:656
↓ 18 callers
Method
createSegment
(long baseOffset)
fluss-server/src/test/java/org/apache/fluss/server/log/LogSegmentTest.java:438
↓ 18 callers
Method
createSegment
(int size)
fluss-common/src/test/java/org/apache/fluss/memory/MemorySegmentTestBase.java:60
↓ 18 callers
Method
createTableInfo
(int numBuckets, boolean isPartitioned)
fluss-flink/fluss-flink-common/src/test/java/org/apache/fluss/flink/sink/undo/RecoveryOffsetManagerTest.java:64
↓ 18 callers
Method
determineRecoveryStrategy
Determines recovery strategy and returns filtered recovery offsets.
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/undo/RecoveryOffsetManager.java:201
↓ 18 callers
Method
equals
(Object o)
fluss-flink/fluss-flink-1.19/src/main/java/org/apache/flink/table/catalog/TableChange.java:1077
↓ 18 callers
Method
equals
(Object o)
fluss-flink/fluss-flink-1.18/src/main/java/org/apache/flink/table/catalog/TableChange.java:1077
↓ 18 callers
Method
fetchRecords
The {@link LogRecordBatch batch} of {@link LogRecord records} is converted to a {@link List list} of {@link ScanRecord scan records} and returned. @p
fluss-client/src/main/java/org/apache/fluss/client/table/scanner/log/CompletedFetch.java:151
↓ 18 callers
Method
getAllVariables
Returns a map of all variables and their associated value, for example {@code {"table"="table-1", "bucket_id"="1"}}. @return map of all variables and
fluss-common/src/main/java/org/apache/fluss/metrics/groups/MetricGroup.java:145
↓ 18 callers
Method
getData
()
fluss-server/src/main/java/org/apache/fluss/server/zk/ZkAsyncResponse.java:86
↓ 18 callers
Method
getField
(String name)
fluss-lake/fluss-lake-iceberg/src/main/java/org/apache/fluss/lake/iceberg/source/FlussRowAsIcebergRecord.java:84
↓ 18 callers
Method
getFileName
()
fluss-common/src/main/java/org/apache/fluss/fs/FsPathAndFileName.java:46
↓ 18 callers
Method
getIndexEntry
(RemoteLogSegment remoteLogSegment)
fluss-server/src/main/java/org/apache/fluss/server/log/remote/RemoteLogIndexCache.java:199
↓ 18 callers
Method
getLatestSchemaInfo
Returns metadata describing the latest known schema.
fluss-common/src/main/java/org/apache/fluss/metadata/SchemaGetter.java:65
↓ 18 callers
Method
getLength
()
fluss-common/src/main/java/org/apache/fluss/types/CharType.java:68
↓ 18 callers
Method
getLogDir
()
fluss-server/src/main/java/org/apache/fluss/server/log/LogTablet.java:224
↓ 18 callers
Method
getNumBuckets
Get the number of buckets of the table.
fluss-common/src/main/java/org/apache/fluss/metadata/TableInfo.java:234
↓ 18 callers
Method
getPartitionId
()
fluss-server/src/main/java/org/apache/fluss/server/coordinator/event/DropPartitionEvent.java:41
↓ 18 callers
Method
getSnapshot
(long id)
fluss-server/src/test/java/org/apache/fluss/server/kv/snapshot/CompletedSnapshotStoreTest.java:743
↓ 18 callers
Method
getString
(int pos)
fluss-common/src/main/java/org/apache/fluss/row/aligned/AlignedRow.java:331
↓ 18 callers
Method
initCoordinatorChannel
()
fluss-server/src/test/java/org/apache/fluss/server/coordinator/CoordinatorEventProcessorTest.java:1071
↓ 18 callers
Method
isEmpty
()
fluss-client/src/main/java/org/apache/fluss/client/write/IncompleteBatches.java:72
↓ 18 callers
Method
makeKvTableAsLeader
( List<TableBucket> tableBuckets, TablePath tablePath, int leaderEpoch)
fluss-server/src/test/java/org/apache/fluss/server/replica/ReplicaManagerTest.java:2119
↓ 18 callers
Method
next
()
fluss-lake/fluss-lake-paimon/src/test/java/org/apache/fluss/lake/paimon/source/PaimonSourceTestBase.java:143
↓ 18 callers
Method
numLeaderReplicas
()
fluss-server/src/main/java/org/apache/fluss/server/coordinator/rebalance/model/ServerModel.java:79
↓ 18 callers
Method
of
(Object oldValue, Object newValue, String expected)
fluss-server/src/test/java/org/apache/fluss/server/kv/rowmerger/VersionedRowMergerTest.java:237
↓ 18 callers
Method
parsePath
Extracts the database name and table name from the given zookeeper path. If the given path is not a valid {@link TableZNode} path, returns null.
fluss-server/src/main/java/org/apache/fluss/server/zk/data/ZkData.java:110
↓ 18 callers
Method
physicalTablePath
()
fluss-client/src/main/java/org/apache/fluss/client/write/WriteBatch.java:160
↓ 18 callers
Method
precision
Returns the <i>precision</i> of this {@link Decimal}. <p>The precision is the number of digits in the unscaled value.
fluss-common/src/main/java/org/apache/fluss/row/Decimal.java:100
↓ 18 callers
Method
refresh
()
fluss-common/src/main/java/org/apache/fluss/rocksdb/RocksIteratorWrapper.java:111
↓ 18 callers
Method
segment
()
fluss-common/src/main/java/org/apache/fluss/row/indexed/IndexedRowWriter.java:291
↓ 18 callers
Method
segmentSizeInBytes
()
fluss-common/src/main/java/org/apache/fluss/remote/RemoteLogSegment.java:114
↓ 18 callers
Method
setError
A shortcut to set error code and nullable error message.
fluss-common/src/main/java/org/apache/fluss/rpc/messages/ErrorMessage.java:35
↓ 18 callers
Method
subscribe
Subscribe to the given table bucket in given offset dynamically. If the table bucket is already subscribed, the offset will be updated. <p>Please use
fluss-client/src/main/java/org/apache/fluss/client/table/scanner/log/LogScanner.java:69
↓ 18 callers
Method
toBinaryMap
(InternalMap from)
fluss-common/src/main/java/org/apache/fluss/row/serializer/MapSerializer.java:55
↓ 18 callers
Method
tryCompleteElseWatch
Check if the operation can be completed, if not watch it based on the given watch keys. <p>Note that a delayed operation can be watched on multiple k
fluss-server/src/main/java/org/apache/fluss/server/replica/delay/DelayedOperationManager.java:94
↓ 18 callers
Method
waitAndGetLeaderReplica
(TableBucket tableBucket)
fluss-server/src/test/java/org/apache/fluss/server/testutils/FlussClusterExtension.java:794
↓ 18 callers
Method
waitUntil
Wait until the given condition is met or timeout. <p>Note: use {@code #waitUntil(ThrowingSupplier, Duration, String)} if waiting test to reach a cond
fluss-test-utils/src/main/java/org/apache/fluss/testutils/common/CommonTestUtils.java:59
↓ 18 callers
Method
watched
Return the total size of watch lists the manager contains. Since an operation may be watched on multiple lists, and some of its watched entries may st
fluss-server/src/main/java/org/apache/fluss/server/replica/delay/DelayedOperationManager.java:150
↓ 18 callers
Method
withDeprecatedKeys
Creates a new config option, using this option's key and default value, and adding the given deprecated keys. <p>When obtaining a value from the conf
fluss-common/src/main/java/org/apache/fluss/config/ConfigOption.java:158
↓ 18 callers
Method
writeAndCommitData
Write data to multiple buckets in a single commit, creating one snapshot. @param fileStoreTable the FileStoreTable instance @param bucketRows map of
fluss-lake/fluss-lake-paimon/src/test/java/org/apache/fluss/lake/paimon/utils/PaimonTestUtils.java:51
↓ 17 callers
Method
MAX
Creates a MAX aggregation function that selects the maximum value. <p>Supported data types: CHAR, STRING, TINYINT, SMALLINT, INT, BIGINT, FLOAT, DOUB
fluss-common/src/main/java/org/apache/fluss/metadata/AggFunctions.java:86
← previous
next →
701–800 of 18,774, ranked by callers