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
↓ 34 callers
Method
append
( WriterStateManager stateManager, long writerId, int batchSequence, long offset)
fluss-server/src/test/java/org/apache/fluss/server/log/WriterStateManagerTest.java:506
↓ 34 callers
Method
apply
Applies this function to the given arguments. @param s the first function argument @param t the second function argument @return the function result
fluss-common/src/main/java/org/apache/fluss/utils/function/BiFunction.java:41
↓ 34 callers
Method
booleanType
Defines that the value of the option should be of {@link Boolean} type.
fluss-common/src/main/java/org/apache/fluss/config/ConfigBuilder.java:109
↓ 34 callers
Method
commit
Commits the given committable object. @param committable the committable object @param snapshotProperties the properties that lake supported to store
fluss-common/src/main/java/org/apache/fluss/lake/committer/LakeCommitter.java:65
↓ 34 callers
Method
execute
()
fluss-server/src/main/java/org/apache/fluss/server/log/StorageAction.java:28
↓ 34 callers
Method
getRowCount
Get the latest row count. Returns -1 if this table doesn't support row count.
fluss-server/src/main/java/org/apache/fluss/server/kv/KvRecoverHelper.java:348
↓ 34 callers
Method
getScale
()
fluss-common/src/main/java/org/apache/fluss/types/DecimalType.java:85
↓ 34 callers
Method
isDone
()
fluss-common/src/main/java/org/apache/fluss/utils/concurrent/FlussScheduler.java:155
↓ 34 callers
Method
newInstance
()
fluss-rpc/src/test/java/org/apache/fluss/rpc/metrics/TestingClientMetricGroup.java:31
↓ 34 callers
Method
physical
(ByteBuffer buffer, int n)
fluss-server/src/main/java/org/apache/fluss/server/log/OffsetIndex.java:291
↓ 34 callers
Method
setDatabase
Set the database for the sink.
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/FlussSinkBuilder.java:93
↓ 34 callers
Method
setTable
Set the table name for the sink.
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/FlussSinkBuilder.java:99
↓ 34 callers
Method
triggerAndWaitSnapshot
(long tableId)
fluss-flink/fluss-flink-common/src/test/java/org/apache/fluss/flink/tiering/source/TieringTestBase.java:222
↓ 34 callers
Method
waitUntilAllReplicaReady
Wait until all the replicas are ready if we have multi replica for one table bucket.
fluss-server/src/test/java/org/apache/fluss/server/testutils/FlussClusterExtension.java:649
↓ 33 callers
Method
ceilDiv
Divide two integers and round up to the nearest integer value.
fluss-common/src/main/java/org/apache/fluss/utils/MathUtils.java:113
↓ 33 callers
Method
createAcls
Creates multiple ACL entries in a single atomic operation. <p>1. Validates the user has 'alter' permission on the resource. 2. Creates the ACL entrie
fluss-client/src/main/java/org/apache/fluss/client/admin/Admin.java:565
↓ 33 callers
Method
currentSession
()
fluss-rpc/src/main/java/org/apache/fluss/rpc/RpcGatewayService.java:40
↓ 33 callers
Method
delete
Delete a certain record from the Fluss table. The input must contain the primary key fields. @param record the record to delete. @return A {@link Com
fluss-client/src/main/java/org/apache/fluss/client/table/writer/UpsertWriter.java:47
↓ 33 callers
Method
getCoordinatorServer
Get the coordinator server node. @return the coordinator server node
fluss-server/src/main/java/org/apache/fluss/server/metadata/ServerMetadataCache.java:38
↓ 33 callers
Method
getMap
Returns the map value at the given position.
fluss-common/src/main/java/org/apache/fluss/row/DataGetters.java:99
↓ 33 callers
Method
getMessageOffset
()
fluss-server/src/main/java/org/apache/fluss/server/log/LogOffsetMetadata.java:59
↓ 33 callers
Method
getValueType
()
fluss-common/src/main/java/org/apache/fluss/types/MapType.java:65
↓ 33 callers
Method
pointTo
Point to the bytes of the row. @param segment The memory segment. @param offset The offset in the memory segment. @param sizeInBytes The size of the
fluss-common/src/main/java/org/apache/fluss/row/BinaryRow.java:53
↓ 33 callers
Method
readLong
Reads eight input bytes and returns a {@code long} value. This method is suitable for reading bytes written by the {@link OutputView#writeLong(long)}.
fluss-common/src/main/java/org/apache/fluss/memory/InputView.java:84
↓ 33 callers
Method
run
The work method. @throws E Exceptions may be thrown.
fluss-common/src/main/java/org/apache/fluss/utils/function/ThrowingRunnable.java:38
↓ 33 callers
Method
setLong
set long from segments. @param segments target segments. @param offset value offset.
fluss-common/src/main/java/org/apache/fluss/row/BinarySegmentUtils.java:519
↓ 33 callers
Method
update
Update the histogram with the given value. @param value Value to update the histogram with
fluss-common/src/main/java/org/apache/fluss/metrics/Histogram.java:38
↓ 33 callers
Method
writeLong
Writes a <code>long</code> value, which is consisted of eight bytes, to the output stream. The byte values to be written, in the little-endian order.
fluss-common/src/main/java/org/apache/fluss/memory/OutputView.java:88
↓ 33 callers
Method
writeString
(BinaryString value)
fluss-common/src/main/java/org/apache/fluss/row/compacted/CompactedRowWriter.java:150
↓ 33 callers
Method
writeValueAsBytes
Serialize the given value to a byte array with the specified json serializer. It potentially reuses byte array for writing efficiently. The implementa
fluss-common/src/main/java/org/apache/fluss/utils/json/JsonSerdeUtils.java:49
↓ 32 callers
Method
assertIndexIsValid
(int index)
fluss-common/src/main/java/org/apache/fluss/row/aligned/AlignedRow.java:111
↓ 32 callers
Method
assertLogRecordsEquals
(LogRecords actual, LogRecords expected)
fluss-common/src/test/java/org/apache/fluss/testutils/DataTestUtils.java:702
↓ 32 callers
Method
assertThatLogRecords
Creates assertions for {@link LogRecords}.
fluss-common/src/test/java/org/apache/fluss/testutils/LogRecordsAssert.java:37
↓ 32 callers
Method
batches
Get the record batches. Note that the signature allows subclasses to return a more specific batch type. @return An iterator over the record batches o
fluss-common/src/main/java/org/apache/fluss/record/LogRecords.java:43
↓ 32 callers
Method
contains
()
fluss-common/src/test/java/org/apache/fluss/row/BinaryStringTest.java:248
↓ 32 callers
Method
getAllSnapshots
Returns a list of all the completed snapshots in this store. Note this doesn't include the snapshots that are still in use but have been moved out of
fluss-server/src/main/java/org/apache/fluss/server/kv/snapshot/CompletedSnapshotStore.java:220
↓ 32 callers
Method
getBucketAssignments
()
fluss-server/src/main/java/org/apache/fluss/server/zk/data/TableAssignment.java:46
↓ 32 callers
Method
getCause
()
fluss-server/src/test/java/org/apache/fluss/server/kv/snapshot/PeriodicSnapshotManagerTest.java:267
↓ 32 callers
Method
getElementOffset
(int ordinal, int elementSize)
fluss-common/src/main/java/org/apache/fluss/row/BinaryArray.java:120
↓ 32 callers
Method
getKeyType
()
fluss-common/src/main/java/org/apache/fluss/types/MapType.java:61
↓ 32 callers
Method
getLong
get long from segments. @param segments target segments. @param offset value offset.
fluss-common/src/main/java/org/apache/fluss/row/BinarySegmentUtils.java:473
↓ 32 callers
Method
getProperties
Returns the table properties. <p>Table properties are controlled by Fluss and will change the behavior of the table.
fluss-common/src/main/java/org/apache/fluss/metadata/TableDescriptor.java:212
↓ 32 callers
Method
isLeader
()
fluss-server/src/main/java/org/apache/fluss/server/replica/Replica.java:1936
↓ 32 callers
Method
last
Get the position to place the column at the first.
fluss-common/src/main/java/org/apache/fluss/metadata/TableChange.java:384
↓ 32 callers
Method
lastAckedBatchSequence
(TableBucket tableBucket)
fluss-client/src/main/java/org/apache/fluss/client/write/IdempotenceManager.java:160
↓ 32 callers
Method
mkdirs
Make the given file and all non-existent parents into directories. Has the semantics of Unix 'mkdir -p'. Existence of the directory hierarchy is not a
fluss-common/src/main/java/org/apache/fluss/fs/FileSystem.java:508
↓ 32 callers
Method
toLowerCase
Converts all of the characters in this {@code BinaryString} to lower case. @return the {@code BinaryString}, converted to lowercase.
fluss-common/src/main/java/org/apache/fluss/row/BinaryString.java:548
↓ 31 callers
Method
MAP
Data type of an associative array that maps keys (including {@code NULL}) to values (including {@code NULL}). A map cannot contain duplicate keys; eac
fluss-common/src/main/java/org/apache/fluss/types/DataTypes.java:310
↓ 31 callers
Method
allRemoteLogSegments
Get all remote log segment metadata.
fluss-server/src/main/java/org/apache/fluss/server/log/remote/RemoteLogTablet.java:146
↓ 31 callers
Method
batches
()
fluss-common/src/main/java/org/apache/fluss/record/MemoryLogRecords.java:94
↓ 31 callers
Method
createFieldGetter
Creates an accessor for getting elements in an internal row data structure at the given position. @param fieldType the element type of the row @param
fluss-common/src/main/java/org/apache/fluss/row/InternalRow.java:163
↓ 31 callers
Method
createProduceLogResponse
( TableBucket tb, long baseOffset, long endOffset)
fluss-client/src/test/java/org/apache/fluss/client/write/SenderTest.java:804
↓ 31 callers
Method
fetchLogRecords
Fetch records from a replica. Currently, we will return the fetched records immediately. <p>The callback function will be triggered when required fet
fluss-server/src/main/java/org/apache/fluss/server/replica/ReplicaManager.java:555
↓ 31 callers
Method
freePages
()
fluss-common/src/main/java/org/apache/fluss/memory/LazyMemorySegmentPool.java:240
↓ 31 callers
Method
getBucketKeys
Get the bucket keys of the table. This will be an empty set if the table is not bucketed.
fluss-common/src/main/java/org/apache/fluss/metadata/TableInfo.java:205
↓ 31 callers
Method
getBucketState
(TableBucket tableBucket)
fluss-server/src/main/java/org/apache/fluss/server/coordinator/CoordinatorContext.java:580
↓ 31 callers
Method
getErrorCode
Gets the error code of the message. @throws IllegalStateException if the error code is not set.
fluss-common/src/main/java/org/apache/fluss/rpc/messages/ErrorMessage.java:50
↓ 31 callers
Method
getPort
()
fluss-common/src/main/java/org/apache/fluss/cluster/Endpoint.java:66
↓ 31 callers
Method
memoryType
Defines that the value of the option should be of {@link MemorySize} type.
fluss-common/src/main/java/org/apache/fluss/config/ConfigBuilder.java:144
↓ 31 callers
Method
plan
Plans and generates a list of readable data splits in parallel. @return the list of readable data splits @throws IOException if an I/O error occurs
fluss-common/src/main/java/org/apache/fluss/lake/source/Planner.java:44
↓ 31 callers
Method
value
Gets the value for this entry.
fluss-common/src/main/java/org/apache/fluss/shaded/arrow/org/apache/arrow/vector/util/IntObjectMap.java:48
↓ 31 callers
Method
valueArray
Returns an array view of the values contained in this map. <p>A key-value pair has the same index in the key array and value array.
fluss-common/src/main/java/org/apache/fluss/row/InternalMap.java:51
↓ 31 callers
Method
values
Return a map from acl filters to futures which can be used to check the status of the deletions by each filter.
fluss-client/src/main/java/org/apache/fluss/client/admin/DropAclsResult.java:166
↓ 30 callers
Method
assertException
(Callable<?> r)
fluss-protogen/fluss-protogen-tests/src/test/java/org/apache/fluss/protogen/tests/RepeatedNumbersTest.java:41
↓ 30 callers
Method
copyTo
Copies the bytes of the row to the destination memory, beginning at the given offset. @param dst The memory into which the bytes will be copied. @par
fluss-common/src/main/java/org/apache/fluss/row/BinaryRow.java:37
↓ 30 callers
Method
count
The number of records for all buckets.
fluss-client/src/main/java/org/apache/fluss/client/table/scanner/log/ScanRecords.java:72
↓ 30 callers
Method
createPrimitiveValueWriter
(DataType elementType)
fluss-common/src/test/java/org/apache/fluss/row/BinaryWriterTest.java:319
↓ 30 callers
Method
detectInvalidName
(String identifier)
fluss-common/src/main/java/org/apache/fluss/metadata/TablePath.java:168
↓ 30 callers
Method
getElementType
()
fluss-common/src/main/java/org/apache/fluss/types/ArrayType.java:52
↓ 30 callers
Method
getFieldOffset
(int pos)
fluss-common/src/main/java/org/apache/fluss/row/aligned/AlignedRow.java:107
↓ 30 callers
Method
getHost
()
fluss-common/src/main/java/org/apache/fluss/cluster/Endpoint.java:62
↓ 30 callers
Method
getTableDistribution
Returns the distribution of the table if the {@code DISTRIBUTED} clause is defined.
fluss-common/src/main/java/org/apache/fluss/metadata/TableDescriptor.java:203
↓ 30 callers
Method
getTablePath
Returns the database name and table name of the table that represented by this table path. A table path is unique in a Fluss cluster and can be used t
fluss-common/src/main/java/org/apache/fluss/metadata/TableInfo.java:102
↓ 30 callers
Method
isCompact
Returns whether the decimal value is small enough to be stored in a long.
fluss-common/src/main/java/org/apache/fluss/row/Decimal.java:141
↓ 30 callers
Method
logRecords
( long baseOffset, List<ChangeType> changeTypes, List<Object[]> values)
fluss-server/src/test/java/org/apache/fluss/server/kv/KvTabletTest.java:1444
↓ 30 callers
Method
next
()
fluss-client/src/test/java/org/apache/fluss/client/table/scanner/SortMergeReaderTest.java:155
↓ 30 callers
Method
timeIndex
()
fluss-server/src/main/java/org/apache/fluss/server/log/LogSegment.java:163
↓ 30 callers
Method
writeInt
(int pos, int value)
fluss-common/src/main/java/org/apache/fluss/row/BinaryArrayWriter.java:166
↓ 29 callers
Method
allocatePages
(int requiredPages)
fluss-common/src/main/java/org/apache/fluss/memory/LazyMemorySegmentPool.java:129
↓ 29 callers
Method
assertThatFuture
Create assertion for {@link java.util.concurrent.CompletableFuture}. @param actual the actual value. @param <T> the type of the value contained in th
fluss-test-utils/src/main/java/org/apache/fluss/testutils/common/FlussAssertions.java:153
↓ 29 callers
Method
deserialize
(JsonNode node)
fluss-common/src/main/java/org/apache/fluss/utils/json/JsonDeserializer.java:25
↓ 29 callers
Method
finishRow
Finish write the row, return the written row. @return the written row.
fluss-common/src/main/java/org/apache/fluss/row/encode/RowEncoder.java:81
↓ 29 callers
Method
get
Gets the value in the map with the specified key. @param key the key whose associated value is to be returned. @return the value or {@code null} if t
fluss-common/src/main/java/org/apache/fluss/shaded/arrow/org/apache/arrow/vector/util/IntObjectMap.java:60
↓ 29 callers
Method
getBucketLeaderAndIsr
(TableBucket tableBucket)
fluss-server/src/main/java/org/apache/fluss/server/coordinator/CoordinatorContext.java:561
↓ 29 callers
Method
getCopyOfBuffer
()
fluss-common/src/main/java/org/apache/fluss/memory/MemorySegmentOutputView.java:55
↓ 29 callers
Method
getLocalLogEndOffset
()
fluss-server/src/main/java/org/apache/fluss/server/replica/Replica.java:323
↓ 29 callers
Method
getReplicaManager
()
fluss-server/src/main/java/org/apache/fluss/server/tablet/TabletServer.java:551
↓ 29 callers
Method
getSchemaId
Returns the schema ID of the table. The schema ID is a 0-based index that is incremented each time the table's schema is modified, such as when a new
fluss-common/src/main/java/org/apache/fluss/metadata/TableInfo.java:131
↓ 29 callers
Method
isEmpty
()
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/source/enumerator/FlinkSourceEnumerator.java:1184
↓ 29 callers
Method
reset
Reset writer to prepare next write.
fluss-common/src/main/java/org/apache/fluss/row/BinaryWriter.java:48
↓ 29 callers
Method
shutdownNow
()
fluss-test-utils/src/main/java/org/apache/fluss/testutils/common/ManuallyTriggeredScheduledExecutorService.java:100
↓ 29 callers
Method
sizeInBytes
()
fluss-common/src/main/java/org/apache/fluss/record/FileLogRecords.java:265
↓ 29 callers
Method
sizeInBytes
()
fluss-common/src/main/java/org/apache/fluss/record/MemoryLogRecords.java:89
↓ 29 callers
Method
startNewRow
Start to write a new row.
fluss-common/src/main/java/org/apache/fluss/row/encode/RowEncoder.java:66
↓ 29 callers
Method
toUpperCase
Converts all of the characters in this {@code BinaryString} to upper case. @return the {@code BinaryString}, converted to uppercase.
fluss-common/src/main/java/org/apache/fluss/row/BinaryString.java:514
↓ 28 callers
Method
bitGet
read bit. @param segment target segment. @param baseOffset bits base offset. @param index bit index from base offset.
fluss-common/src/main/java/org/apache/fluss/row/BinarySegmentUtils.java:438
↓ 28 callers
Method
createElementGetter
Creates an accessor for getting elements in an internal array data structure at the given position. @param fieldType the element type of the array
fluss-common/src/main/java/org/apache/fluss/row/InternalArray.java:81
↓ 28 callers
Method
firstOrSuppressed
Adds a new exception as a {@link Throwable#addSuppressed(Throwable) suppressed exception} to a prior exception, or returns the new exception, if no pr
fluss-common/src/main/java/org/apache/fluss/utils/ExceptionUtils.java:363
↓ 28 callers
Method
from
Create an empty {@link ProjectedRow} starting from a {@code projection} array. <p>The array represents the mapping of the fields of the original {@li
fluss-common/src/main/java/org/apache/fluss/row/ProjectedRow.java:188
↓ 28 callers
Method
getErrorMessage
Gets the error message of the message. @throws IllegalStateException if the error message is not set.
fluss-common/src/main/java/org/apache/fluss/rpc/messages/ErrorMessage.java:66
← previous
next →
401–500 of 18,774, ranked by callers