MCPcopy Create free account

hub / github.com/apache/fluss / functions

Functions18,774 in github.com/apache/fluss

↓ 4,666 callersMethodisEqualTo
(LogRecord expected)
fluss-common/src/test/java/org/apache/fluss/testutils/LogRecordAssert.java:48
↓ 2,817 callersMethodget
Reads a value using the metadata included in {@link ConfigOption}. Returns the {@link ConfigOption#defaultValue()} if value key not present in the con
fluss-common/src/main/java/org/apache/fluss/config/ReadableConfig.java:42
↓ 1,573 callersMethodget
Performs the asynchronous part of one snapshot and returns the snapshot result. @param snapshotCloseableRegistry A registry for io tasks to close on
fluss-server/src/main/java/org/apache/fluss/server/kv/snapshot/SnapshotResultSupplier.java:35
↓ 1,476 callersMethodisEqualTo
(TableMetadata expected)
fluss-server/src/test/java/org/apache/fluss/server/testutils/TableMetadataAssert.java:40
↓ 1,372 callersMethodformat
(ChannelHandlerContext ctx, String eventName, Object arg)
fluss-rpc/src/main/java/org/apache/fluss/rpc/netty/NettyLogger.java:47
↓ 1,305 callersMethodsize
Returns the number of key-value mappings in this map.
fluss-common/src/main/java/org/apache/fluss/row/InternalMap.java:37
↓ 1,242 callersMethodput
Put a key-value pair.
fluss-server/src/main/java/org/apache/fluss/server/kv/KvBatchWriter.java:31
↓ 1,132 callersMethodadd
Add a new task to this executor. It will be executed after the task's delay (beginning from the time of submission). @param timerTask the task to add
fluss-server/src/main/java/org/apache/fluss/server/utils/timer/Timer.java:40
↓ 1,110 callersMethodasList
Defines that the option's type should be a list of previously defined atomic type.
fluss-common/src/main/java/org/apache/fluss/config/ConfigBuilder.java:185
↓ 964 callersMethodbuild
()
fluss-server/src/main/java/org/apache/fluss/server/kv/wal/WalBuilder.java:29
↓ 953 callersMethodcolumn
Declares a column that is appended to this schema. <p>Columns are regular columns known from databases. They define the names, the types, and the ord
fluss-common/src/main/java/org/apache/fluss/metadata/Schema.java:442
↓ 865 callersMethodof
Creates a key encoder based on the datalake format. <p>Internal use only. This method should be private, but Java 8 doesn't support private static me
fluss-common/src/main/java/org/apache/fluss/row/encode/KeyEncoder.java:119
↓ 794 callersMethodkey
Gets the key for this entry.
fluss-common/src/main/java/org/apache/fluss/shaded/arrow/org/apache/arrow/vector/util/IntObjectMap.java:45
↓ 715 callersMethodSTRING
Data type of a variable-length character string. @see StringType
fluss-common/src/main/java/org/apache/fluss/types/DataTypes.java:145
↓ 704 callersMethodrow
(Object... objects)
fluss-common/src/test/java/org/apache/fluss/testutils/DataTestUtils.java:99
↓ 703 callersMethodtoString
@param entry entry to be converted into string. @return String representation of the given entry.
fluss-server/src/main/java/org/apache/fluss/server/log/checkpoint/CheckpointFile.java:234
↓ 668 callersMethodINT
Data type of a 4-byte signed integer with values from -2,147,483,648 to 2,147,483,647. @see IntType
fluss-common/src/main/java/org/apache/fluss/types/DataTypes.java:79
↓ 666 callersMethodisEqualTo
(RecordAndPos expected)
fluss-flink/fluss-flink-common/src/test/java/org/apache/fluss/flink/source/testutils/RecordAndPosAssert.java:47
↓ 644 callersMethodcollect
(OUT record)
fluss-flink/fluss-flink-common/src/test/java/org/apache/fluss/flink/source/emitter/FlinkRecordEmitterTest.java:150
↓ 501 callersMethodgetClass
Returns the class associated with the given key as a string. @param <T> The type of the class to return. @param key The key pointing to the associate
fluss-common/src/main/java/org/apache/fluss/config/Configuration.java:95
↓ 497 callersMethodput
Puts the given entry into the map. @param key the key of the entry. @param value the value of the entry. @return the previous value for this key or {
fluss-common/src/main/java/org/apache/fluss/shaded/arrow/org/apache/arrow/vector/util/IntObjectMap.java:69
↓ 496 callersMethodof
(String db, String table)
fluss-common/src/main/java/org/apache/fluss/metadata/TablePath.java:68
↓ 483 callersMethodfromString
(String str)
fluss-common/src/main/java/org/apache/fluss/row/BinaryString.java:65
↓ 451 callersMethodequals
Indicates whether some other object is "equal to" this one. Two {@code RowWithOp} objects are considered equal if their internal rows and operation ty
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/row/RowWithOp.java:108
↓ 430 callersMethodgetInt
Returns the integer value at the given position.
fluss-common/src/main/java/org/apache/fluss/row/DataGetters.java:48
↓ 414 callersMethodgetBytes
Returns the binary value at the given position.
fluss-common/src/main/java/org/apache/fluss/row/DataGetters.java:93
↓ 388 callersMethodnewBuilder
Builder for configuring and creating instances of {@link Schema}.
fluss-common/src/main/java/org/apache/fluss/metadata/Schema.java:264
↓ 367 callersMethodadd
A table change to add the column at last. <p>It is equal to the following statement: <pre> ALTER TABLE &lt;table_name&gt; ADD &lt;column_definiti
fluss-flink/fluss-flink-1.18/src/main/java/org/apache/flink/table/catalog/TableChange.java:46
↓ 354 callersMethodcreateTable
Create a new table asynchronously. <p>The following exceptions can be anticipated when calling {@code get()} on returned future. <ul> <li>{@link D
fluss-client/src/main/java/org/apache/fluss/client/admin/Admin.java:218
↓ 353 callersMethodsetField
Sets the field value at the given position. <p>Note: The given field value must be an internal data structures. Otherwise, the {@link GenericRow} is
fluss-common/src/main/java/org/apache/fluss/row/GenericRow.java:73
↓ 348 callersMethodisNotNull
(int idx)
fluss-common/src/main/java/org/apache/fluss/predicate/PredicateBuilder.java:112
↓ 320 callersMethodcheckNotNull
Ensures that the given object reference is not null. Upon violation, a {@code NullPointerException} with no message is thrown. @param reference The o
fluss-common/src/main/java/org/apache/fluss/utils/Preconditions.java:42
↓ 320 callersMethodgetValue
Calculates and returns the measured value. @return calculated value
fluss-common/src/main/java/org/apache/fluss/metrics/Gauge.java:35
↓ 305 callersMethodsetString
Adds the given key/value pair to the configuration object. @param key the key of the key/value pair to be added @param value the value of the key/val
fluss-common/src/main/java/org/apache/fluss/config/Configuration.java:155
↓ 302 callersMethodgetString
Returns the string value at the given position.
fluss-common/src/main/java/org/apache/fluss/row/DataGetters.java:63
↓ 292 callersMethodschema
Define the schema of the {@link TableDescriptor}.
fluss-common/src/main/java/org/apache/fluss/metadata/TableDescriptor.java:518
↓ 287 callersMethodgetKey
Get the key of the kv record. @return the key of the kv record.
fluss-common/src/main/java/org/apache/fluss/record/KvRecord.java:40
↓ 286 callersMethodtoList
Collect all rows from the iterator and close it. @return return a list of rows
fluss-client/src/main/java/org/apache/fluss/client/table/scanner/batch/BatchScanUtils.java:100
↓ 278 callersMethodisNull
(int idx)
fluss-common/src/main/java/org/apache/fluss/predicate/PredicateBuilder.java:108
↓ 263 callersMethodBIGINT
Data type of an 8-byte signed integer with values from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. @see BigIntType
fluss-common/src/main/java/org/apache/fluss/types/DataTypes.java:107
↓ 259 callersMethodbuilder
Creates a builder for building table descriptor.
fluss-common/src/main/java/org/apache/fluss/metadata/TableDescriptor.java:141
↓ 259 callersMethodset
(String key, String value)
fluss-common/src/main/java/org/apache/fluss/metadata/TableChange.java:112
↓ 256 callersMethodgetTable
Retrieve a new Table client to operate data in table.
fluss-client/src/main/java/org/apache/fluss/client/Connection.java:57
↓ 249 callersMethoddefaultValue
Returns the default value, or null, if there is no default value. @return The default value, or null.
fluss-common/src/main/java/org/apache/fluss/config/ConfigOption.java:207
↓ 245 callersMethodclose
Close the connection and release all resources.
fluss-client/src/main/java/org/apache/fluss/client/Connection.java:60
↓ 245 callersMethodvalues
Returns all the log segments in base offset ascending order.
fluss-server/src/main/java/org/apache/fluss/server/log/LogSegments.java:122
↓ 237 callersMethodentrySet
()
fluss-common/src/main/java/org/apache/fluss/utils/CopyOnWriteMap.java:52
↓ 229 callersMethodfromEpochMillis
Creates an instance of {@link TimestampLtz} from milliseconds. <p>The nanos-of-millisecond field will be set to zero. @param milliseconds the number
fluss-common/src/main/java/org/apache/fluss/row/TimestampLtz.java:78
↓ 223 callersMethodwithDescription
Creates a new config option, using this option's key and default value, and adding the given description. The given description is used when generatio
fluss-common/src/main/java/org/apache/fluss/config/ConfigOption.java:178
↓ 217 callersMethodset
(ConfigOption<T> option, T value)
fluss-common/src/main/java/org/apache/fluss/config/Configuration.java:578
↓ 212 callersMethodproperty
Sets table property on the table. <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:540
↓ 212 callersMethodtest
Test based on the specific input row. @return return true when hit, false when not hit.
fluss-common/src/main/java/org/apache/fluss/predicate/Predicate.java:40
↓ 211 callersMethodprimaryKey
Declares a primary key constraint for a set of given columns. Primary key uniquely identify a row in a table. Neither of columns in a primary can be n
fluss-common/src/main/java/org/apache/fluss/metadata/Schema.java:501
↓ 210 callersMethodformat
A simplified formatting method. Similar to {@link String#format(String, Object...)}, but with lower overhead (only String parameters, no locale, no fo
fluss-common/src/main/java/org/apache/fluss/utils/Preconditions.java:197
↓ 209 callersMethodwrap
(byte[] buffer)
fluss-common/src/main/java/org/apache/fluss/memory/MemorySegment.java:134
↓ 205 callersMethodfromMillis
Creates an instance of {@link TimestampNtz} from milliseconds. <p>The nanos-of-millisecond field will be set to zero. @param milliseconds the number
fluss-common/src/main/java/org/apache/fluss/row/TimestampNtz.java:97
↓ 199 callersMethodforEach
Apply the supplied function to each of tasks in this list.
fluss-server/src/main/java/org/apache/fluss/server/utils/timer/TimerTaskList.java:70
↓ 197 callersMethodkeySet
Returns the keys of all key/value pairs stored inside this configuration object. @return the keys of all key/value pairs stored inside this configura
fluss-common/src/main/java/org/apache/fluss/config/Configuration.java:481
↓ 192 callersMethoddistributedBy
Define the distribution of the table. If the bucket keys are defined, it implies a hash distribution on the bucket keys. Otherwise, it is a random dis
fluss-common/src/main/java/org/apache/fluss/metadata/TableDescriptor.java:616
↓ 192 callersMethodisEmpty
()
fluss-server/src/main/java/org/apache/fluss/server/log/LogSegments.java:55
↓ 190 callersMethodfromString
@param value string representation of an entry. @return entry converted from the given string representation if possible. {@link Optional#empty()}
fluss-server/src/main/java/org/apache/fluss/server/log/checkpoint/CheckpointFile.java:242
↓ 189 callersMethodgetTableBucket
Get the table bucket of the event. @return the table bucket of the event.
fluss-server/src/main/java/org/apache/fluss/server/coordinator/event/FencedCoordinatorEvent.java:30
↓ 189 callersMethodin
(int idx, List<Object> literals)
fluss-common/src/main/java/org/apache/fluss/predicate/PredicateBuilder.java:142
↓ 183 callersMethodof
Creates an instance of {@link GenericRow} with given field values. <p>Note: All fields of the row must be internal data structures.
fluss-common/src/main/java/org/apache/fluss/row/GenericRow.java:224
↓ 180 callersMethodhash
hash segments to int. @param segments Source segments. @param offset Source segments offset. @param numBytes the number bytes to hash.
fluss-common/src/main/java/org/apache/fluss/row/BinarySegmentUtils.java:220
↓ 177 callersMethodawait
Waits until {@link OneShotLatch#trigger()} is called. Once {@code trigger()} has been called this call will always return immediately. @throws Interr
fluss-test-utils/src/main/java/org/apache/fluss/testutils/common/OneShotLatch.java:54
↓ 176 callersMethodgetDatabaseName
()
fluss-common/src/main/java/org/apache/fluss/metadata/TablePath.java:72
↓ 176 callersMethodgetRow
Get the row of the kv record. If the row is null, it means the record is a delete record. @return the row of the kv record, which is BinaryRow.
fluss-common/src/main/java/org/apache/fluss/record/KvRecord.java:47
↓ 170 callersMethodgetBucket
()
fluss-common/src/main/java/org/apache/fluss/metadata/TableBucket.java:65
↓ 167 callersMethodcontains
Returns true if and only if this BinaryString contains the specified sequence of bytes values. @param s the sequence to search for @return true if th
fluss-common/src/main/java/org/apache/fluss/row/BinaryString.java:349
↓ 167 callersMethodforEach
(BiConsumer<TableBucket, S> biConsumer)
fluss-common/src/main/java/org/apache/fluss/utils/log/FairBucketStatusMap.java:117
↓ 167 callersMethodretry
Execute the given assertion. If it throws an assert error, retry. Repeat until no error is thrown or the time limit elapses. <p>Note: use {@code retr
fluss-test-utils/src/main/java/org/apache/fluss/testutils/common/CommonTestUtils.java:136
↓ 166 callersMethodcolumn
()
fluss-flink/fluss-flink-1.19/src/main/java/org/apache/flink/table/catalog/TableChange.java:1073
↓ 160 callersMethodof
(DataType... types)
fluss-common/src/main/java/org/apache/fluss/types/RowType.java:199
↓ 159 callersMethodisNullAt
Returns true if the element is null at the given position.
fluss-common/src/main/java/org/apache/fluss/row/DataGetters.java:36
↓ 158 callersMethodaddAll
(Configuration other)
fluss-common/src/main/java/org/apache/fluss/config/Configuration.java:494
↓ 158 callersMethodcontainsKey
Indicates whether or not this map contains a value for the specified key.
fluss-common/src/main/java/org/apache/fluss/shaded/arrow/org/apache/arrow/vector/util/IntObjectMap.java:88
↓ 158 callersMethoderror
()
fluss-server/src/main/java/org/apache/fluss/server/authorizer/AclDeleteResult.java:51
↓ 158 callersMethodof
Creates a new tuple and assigns the given values to the tuple's fields. This is more convenient than using the constructor, because the compiler can i
fluss-common/src/main/java/org/apache/fluss/utils/types/Tuple2.java:138
↓ 156 callersMethodfromBigDecimal
Creates an instance of {@link Decimal} from a {@link BigDecimal} and the given precision and scale. <p>The returned decimal value may be rounded to h
fluss-common/src/main/java/org/apache/fluss/row/Decimal.java:188
↓ 156 callersMethodgetLong
Returns the long value at the given position.
fluss-common/src/main/java/org/apache/fluss/row/DataGetters.java:51
↓ 150 callersMethodcomplete
Finally, complete write to set real size to binary.
fluss-common/src/main/java/org/apache/fluss/row/BinaryWriter.java:88
↓ 149 callersMethodappend
Append a record into a Log Table. @param record the record to append. @return A {@link CompletableFuture} that always returns append result when comp
fluss-client/src/main/java/org/apache/fluss/client/table/writer/AppendWriter.java:39
↓ 149 callersMethodgetTableName
()
fluss-common/src/main/java/org/apache/fluss/metadata/TablePath.java:76
↓ 147 callersMethodgetFieldCount
Returns the number of fields in this row. <p>The number does not include {@link ChangeType}. It is kept separately.
fluss-common/src/main/java/org/apache/fluss/row/InternalRow.java:94
↓ 146 callersMethodgetRowType
()
fluss-common/src/main/java/org/apache/fluss/metadata/Schema.java:128
↓ 145 callersMethodnext
()
fluss-common/src/main/java/org/apache/fluss/utils/NetUtils.java:228
↓ 145 callersMethodwrite
Writes to the output stream all the bytes in array <code>b</code>. If <code>b</code> is <code>null</code>, a <code>NullPointerException</code> is thro
fluss-common/src/main/java/org/apache/fluss/memory/OutputView.java:126
↓ 144 callersMethodofRecord
Create a KvRecord with give key and value. If the given value is null, it means to create a kv record for deletion.
fluss-common/src/test/java/org/apache/fluss/record/KvRecordTestUtils.java:103
↓ 143 callersMethodFIELD
(String name, DataType type)
fluss-common/src/main/java/org/apache/fluss/types/DataTypes.java:314
↓ 139 callersMethodcontains
@param offset the segment to be checked @return true if a segment exists at the provided offset, false otherwise.
fluss-server/src/main/java/org/apache/fluss/server/log/LogSegments.java:107
↓ 137 callersMethodcheckArgument
Checks the given boolean condition, and throws an {@code IllegalArgumentException} if the condition is not met (evaluates to {@code false}). @param c
fluss-common/src/main/java/org/apache/fluss/utils/Preconditions.java:105
↓ 133 callersMethodgetName
Returns the final component of this path, i.e., everything that follows the last separator. @return the final component of the path
fluss-common/src/main/java/org/apache/fluss/fs/FsPath.java:273
↓ 133 callersMethodremove
Remove the snapshot handle for the given snapshot id of the given table bucket. @param tableBucket the table bucket the snapshot belongs to @param sn
fluss-server/src/main/java/org/apache/fluss/server/kv/snapshot/CompletedSnapshotHandleStore.java:52
↓ 130 callersMethodisEmpty
()
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/shuffle/DataStatistics.java:40
↓ 130 callersMethodisEmpty
Check whether this node is empty, which may be the case if noNode() is used as a placeholder in a response payload with an error. @return true if it
fluss-common/src/main/java/org/apache/fluss/cluster/ServerNode.java:105
↓ 129 callersMethodclose
()
fluss-server/src/main/java/org/apache/fluss/server/log/LazyIndex.java:70
↓ 127 callersMethodcompactedRow
(RowType rowType, Object[] objects)
fluss-common/src/test/java/org/apache/fluss/testutils/DataTestUtils.java:205
↓ 127 callersMethodcomputeIfAbsent
(K key, Function<? super K, ? extends V> mappingFunction)
fluss-common/src/main/java/org/apache/fluss/utils/MapUtils.java:48
↓ 127 callersMethodposition
()
fluss-common/src/main/java/org/apache/fluss/row/SequentialBinaryWriter.java:81
next →1–100 of 18,774, ranked by callers