MCPcopy Create free account

hub / github.com/spring-projects/spring-data-commons / functions

Functions9,531 in github.com/spring-projects/spring-data-commons

↓ 37 callersMethodorElseGet
Returns the value of the lazy computation or the value produced by the given {@link Supplier} in case the original value is {@literal null}. @param s
src/main/java/org/springframework/data/util/Lazy.java:203
↓ 36 callersMethodgetComponentType
Returns the component type for {@link java.util.Collection}s or the key type for {@link java.util.Map}s. @return
src/main/java/org/springframework/data/core/TypeInformation.java:174
↓ 36 callersMethodgetDeclaringClass
Returns the type declaring the {@link Function}. @return
src/main/java/org/springframework/data/spel/spi/Function.java:130
↓ 36 callersMethodmatching
Create a new {@link ExampleMatcher} including all non-null properties by default matching <strong>all</strong> predicates derived from the example. @
src/main/java/org/springframework/data/domain/ExampleMatcher.java:58
↓ 36 callersMethodresolveArgument
Resolves a {@link Sort} method parameter into an argument value from a given request. @param parameter the method parameter to resolve. This paramete
src/main/java/org/springframework/data/web/SortArgumentResolver.java:50
↓ 36 callersMethodsupportsParameter
(MethodParameter parameter)
src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolver.java:46
↓ 35 callersMethodcreateProjection
Creates a projection of the given type for the given source object. The individual mapping strategy is defined by the implementations. @param project
src/main/java/org/springframework/data/projection/ProjectionFactory.java:37
↓ 35 callersMethodexecute
Execute the action specified by the given callback object guarded by a lock and return its result. The {@code action} is only executed once the lock h
src/main/java/org/springframework/data/util/Lock.java:104
↓ 35 callersMethodget
Get the property value for the given object. @param obj the object to get the property value from. @return the property value.
src/main/java/org/springframework/data/core/TypedPropertyPath.java:128
↓ 35 callersMethodgetRepository
()
src/test/java/org/springframework/data/repository/core/support/DummyRepositoryFactoryBean.java:42
↓ 34 callersMethodconcat
(Stream<RepositoryFragment<?>> left, Stream<RepositoryFragment<?>> right)
src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java:490
↓ 34 callersMethodcreate
(List<Class<?>> types, String propertyName, Object value)
src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryDatatypeTests.java:89
↓ 34 callersMethodgetDomainType
Returns the raw domain class the repository is declared for. @return the raw domain class the repository is handling.
src/main/java/org/springframework/data/repository/core/RepositoryMetadata.java:49
↓ 33 callersMethodbuilder
Create a new {@code CodeBlockBuilder} instance. @return a new {@code CodeBlockBuilder}.
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:60
↓ 33 callersMethodgetRequiredPersistentProperty
Returns the {@link PersistentProperty} with the given name. @param name the name of the property. Can be {@literal null} or empty. @return the {@link
src/main/java/org/springframework/data/mapping/PersistentEntity.java:156
↓ 33 callersMethodpostProcessInvocationResult
Post-processes the given result of a query invocation to match the return type of the given method. @param result can be {@literal null}. @param meth
src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java:84
↓ 33 callersMethodvisitInsn
(int opcode)
src/main/java/org/springframework/data/core/SerializableLambdaReader.java:358
↓ 32 callersMethodempty
Empty {@code RepositoryFragmentsContributor} that does not contribute any fragments. @return empty {@code RepositoryFragmentsContributor} that does n
src/main/java/org/springframework/data/repository/core/support/RepositoryFragmentsContributor.java:43
↓ 32 callersMethodgetName
Returns the name of the property. @return the current property name.
src/main/java/org/springframework/data/core/PropertyReference.java:137
↓ 32 callersMethodgetParameterType
@return the component or wrapper type to be used.
src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java:342
↓ 32 callersMethodgetPersistentProperty
Obtains a {@link PersistentProperty} instance by name. @param name the name of the property. Can be {@literal null}. @return the {@link PersistentPro
src/main/java/org/springframework/data/mapping/PersistentEntity.java:146
↓ 32 callersMethodunsorted
Returns a {@link Sort} instances representing no sorting setup at all. @return unsorted Sort instance.
src/main/java/org/springframework/data/domain/Sort.java:199
↓ 31 callersMethodby
Creates a new {@link Order} instance. Takes a property path. Direction defaults to {@link Sort#DEFAULT_DIRECTION}. @param propertyPath must not be {@
src/main/java/org/springframework/data/domain/Sort.java:512
↓ 31 callersMethodgetBeanWrapperFor
Returns the {@link AuditableBeanWrapper} for the given source object if it's eligible for auditing. @param source must not be {@literal null}. @retur
src/main/java/org/springframework/data/auditing/AuditableBeanWrapperFactory.java:34
↓ 31 callersMethodgetKey
()
src/test/java/org/springframework/data/repository/cdi/RepositoryFragments.java:25
↓ 31 callersMethodifPresent
Determine whether the {@link Class} identified by the supplied {@code className} is present and can be loaded and call the {@link Consumer action} if
src/main/java/org/springframework/data/util/ClassUtils.java:51
↓ 31 callersMethodotherwise
Add a fallback return statement if no previous return statement was added. @param codeBlock the code block result to be returned. @return {@code this
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:1066
↓ 31 callersMethodreturning
Create a builder for a return statement targeting the given return type. Any formats provided to {@link ReturnBuilderSupport} must not contain the {@c
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:133
↓ 31 callersMethodtest
(InvokedMethod invokedMethod, Method candidate)
src/main/java/org/springframework/data/repository/core/support/MethodLookup.java:76
↓ 30 callersMethodforName
(String name)
src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionReader.java:216
↓ 30 callersMethodgetMessage
()
src/main/java/org/springframework/data/core/PropertyReferenceException.java:100
↓ 30 callersMethodgetMethod
(String methodName)
src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java:422
↓ 30 callersMethodgetName
()
src/test/java/org/springframework/data/core/PropertyReferenceUnitTests.java:303
↓ 30 callersMethodinclusive
Creates a boundary including {@code value}. @param value must not be {@literal null}.
src/main/java/org/springframework/data/domain/Range.java:317
↓ 30 callersMethodisArray
Returns whether the property is an array. @return
src/main/java/org/springframework/data/mapping/PersistentProperty.java:249
↓ 29 callersMethodand
Creates a new {@link Streamable} from the current one and the given {@link Stream} concatenated. @param stream must not be {@literal null}. @return @
src/main/java/org/springframework/data/util/Streamable.java:148
↓ 29 callersMethodappliesBoxing
@return {@literal true} if the value hierarchy applies boxing.
src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java:354
↓ 29 callersMethodendsWith
Sets string matcher to {@link StringMatcher#ENDING}.
src/main/java/org/springframework/data/domain/ExampleMatcher.java:459
↓ 29 callersMethodof
Returns a {@link Streamable} with the given elements. @param t the elements to return. @return
src/main/java/org/springframework/data/util/Streamable.java:59
↓ 28 callersMethodadd
Adds the given property to the expression to be built. @param property
src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java:330
↓ 28 callersMethodasc
Creates a new {@link Order} instance. Takes a property path. Direction is {@link Direction#ASC} and NullHandling {@link NullHandling#NATIVE}. @param
src/main/java/org/springframework/data/domain/Sort.java:534
↓ 28 callersMethodexpectInvocationOf
(Method... methods)
src/test/java/org/springframework/data/repository/support/RepositoryInvocationTestUtils.java:51
↓ 28 callersMethodfindAnnotation
Looks up the annotation of the given type on the {@link PersistentEntity}. @param annotationType must not be {@literal null}. @return {@literal null}
src/main/java/org/springframework/data/mapping/PersistentEntity.java:304
↓ 28 callersMethodgetConstructorValueHierarchy
Creates a value hierarchy across value types from a given {@link KParameter} for constructor usage. @param parameter the parameter that references th
src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java:67
↓ 28 callersMethodvisitFieldInsn
(int opcode, String owner, String name, String descriptor)
src/main/java/org/springframework/data/core/SerializableLambdaReader.java:390
↓ 27 callersMethodeval
(String expressionString)
src/test/java/org/springframework/data/expression/ValueEvaluationUnitTests.java:153
↓ 27 callersMethodgetInvokerFor
(Object repository)
src/test/java/org/springframework/data/repository/support/ReflectionRepositoryInvokerUnitTests.java:295
↓ 27 callersMethodgetPageSize
Returns the number of items to be returned. @return the number of items of that page or throws {@link UnsupportedOperationException} if the object is
src/main/java/org/springframework/data/domain/Pageable.java:97
↓ 27 callersMethodof
Creates a new {@link Vector} from the given float {@code values}. Vector values are duplicated to avoid capturing a mutable array instance and to prev
src/main/java/org/springframework/data/domain/Vector.java:47
↓ 27 callersMethodparse
Parses the expression string and return an Expression object you can use for repeated evaluation. <p> Some examples: <pre class="code"> #{3 + 4}
src/main/java/org/springframework/data/expression/ValueExpressionParser.java:66
↓ 26 callersMethodaddStatement
Add a {@link CodeBlock} as a statement to the code block. @param codeBlock the {@link CodeBlock} to add. @return {@code this} builder. @see CodeBlock
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:383
↓ 26 callersMethodof
Construct a {@link ParameterOrigin} from the given {@link CodeBlock} and reference name. @param reference the reference name to obtain the parameter
src/main/java/org/springframework/data/repository/aot/generate/AotRepositoryConstructorBuilder.java:218
↓ 25 callersMethodconvert
(T converter)
src/test/java/org/springframework/data/core/PropertyPathUtilUnitTests.java:44
↓ 25 callersMethodgetProperty
(Class<T> type, String name)
src/test/java/org/springframework/data/mapping/model/AbstractPersistentPropertyUnitTests.java:248
↓ 25 callersMethodgetProperty
(Class<?> type, String name)
src/test/java/org/springframework/data/mapping/model/AnnotationBasedPersistentPropertyUnitTests.java:382
↓ 25 callersMethodgetSegment
Returns the current property path segment (i.e. first part of {@link #toDotPath()}). <p> For example: <pre class="code"> PropertyPath.from("address.c
src/main/java/org/springframework/data/core/PropertyPath.java:103
↓ 24 callersMethodcompile
()
src/test/java/org/springframework/data/aot/AotTestCodeContributionBuilder.java:86
↓ 24 callersMethodgetAttribute
Returns the value for the {@link String} attribute with the given name. The name is expected to be handed in camel-case. @param name must not be {@li
src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSource.java:116
↓ 24 callersMethodgetPropertyAccessor
Returns a {@link PersistentPropertyAccessor} to access property values of the given bean. @param bean must not be {@literal null}. @return new {@link
src/main/java/org/springframework/data/mapping/PersistentEntity.java:342
↓ 24 callersMethodgetRepositoryInformation
@return {@link RepositoryInformation metadata} about the repository itself. @see org.springframework.data.repository.core.RepositoryInformation
src/main/java/org/springframework/data/repository/config/AotRepositoryContext.java:76
↓ 24 callersMethodinvokeFindAll
Invokes the find-all method of the underlying repository using the method taking a {@link Pageable} as parameter if available (i.e. the equivalent to
src/main/java/org/springframework/data/repository/support/RepositoryInvoker.java:67
↓ 24 callersMethodof
Syntax sugar to create a {@link PropertyReference} from a method reference to a Java beans property. <p> This method returns a resolved {@link Propert
src/main/java/org/springframework/data/core/PropertyReference.java:93
↓ 24 callersMethodvalue
Encodes {@code value}. @param value a {@link JSONObject}, {@link JSONArray}, String, Boolean, Integer, Long, Double or null. May not be {@li
src/main/java/org/springframework/data/repository/aot/generate/JSONStringer.java:236
↓ 23 callersMethodgenerateBeanName
Returns a name for the beanDefinition. @param beanDefinition must not be {@literal null}. @return @since 2.0
src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSource.java:166
↓ 23 callersMethodgetInstanceCreatorMetadata
Returns the {@link InstanceCreatorMetadata} to be used to instantiate objects of this {@link PersistentEntity}. @return {@literal null} in case no su
src/main/java/org/springframework/data/mapping/PersistentEntity.java:56
↓ 23 callersMethodgetParameter
(String methodName, Class<?> parameterType)
src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java:170
↓ 23 callersMethodgetPropertyPath
@return the property path representing this property within the root domain type.
src/main/java/org/springframework/data/projection/EntityProjection.java:257
↓ 23 callersMethodisInstance
Return whether the given source object is an instance of the returned type. @param source can be {@literal null}. @return
src/main/java/org/springframework/data/repository/query/ReturnedType.java:100
↓ 23 callersMethodput
(Map<Class<?>, Boolean> simpleTypes, Class<?> type, boolean isSimpleType)
src/main/java/org/springframework/data/mapping/model/SimpleTypeHolder.java:181
↓ 23 callersMethodread
Reads the given source into the given type. @param type they type to convert the given source to. @param source the source to create an object of the
src/main/java/org/springframework/data/convert/EntityReader.java:32
↓ 23 callersMethodsupports
Returns whether the given type is supported for wrapper type conversion. <p> NOTE: A reactive wrapper type might be supported in general by {@link Rea
src/main/java/org/springframework/data/repository/util/ReactiveWrapperConverters.java:141
↓ 22 callersMethodgetMetadata
Returns the metadata for the repository. @return the repository metadata, will never be {@literal null}.
src/main/java/org/springframework/data/repository/core/RepositoryMethodContext.java:59
↓ 22 callersMethodgetProcessor
(String methodName, Class<?>... parameters)
src/test/java/org/springframework/data/repository/query/ResultProcessorUnitTests.java:339
↓ 22 callersMethodgetRepositoryInterface
Returns the interface name of the repository. @return
src/main/java/org/springframework/data/repository/config/RepositoryConfiguration.java:55
↓ 22 callersMethodof
Creates an {@link EventPublishingMethod} for the given type. @param type must not be {@literal null}. @return an {@link EventPublishingMethod} for th
src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java:171
↓ 22 callersMethodprocessResult
Post-processes the given query result. @param source can be {@literal null}. @return
src/main/java/org/springframework/data/repository/query/ResultProcessor.java:125
↓ 21 callersMethodadd
Add a formatted statement to the code block. @param format the format string. @param args the arguments for the format string. @return {@code this} b
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:369
↓ 21 callersMethodadd
(ResolvableType resolvableType)
src/main/java/org/springframework/data/util/TypeCollector.java:320
↓ 21 callersMethodgetBeanFactory
Returns a reference to the {@link ConfigurableListableBeanFactory} backing this {@link AotContext}. @return a reference to the {@link ConfigurableLis
src/main/java/org/springframework/data/aot/AotContext.java:140
↓ 21 callersMethodgetConverter
Obtain the {@link PropertyValueConverter} registered for the given type, path combination or {@literal null} if none defined. @param type the target
src/main/java/org/springframework/data/convert/ValueConverterRegistry.java:52
↓ 21 callersMethodisNew
Returns if the {@code Persistable} is new or was persisted already. @return if {@literal true} the object is new.
src/main/java/org/springframework/data/domain/Persistable.java:48
↓ 20 callersMethodaddAdvice
(Advice advice)
src/test/java/org/springframework/data/core/ClassTypeInformationUnitTests.java:869
↓ 20 callersMethodassertType
(Iterable<String> sources, Type type, String property)
src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java:660
↓ 20 callersMethoddesc
Creates a new {@link Order} instance. Takes a property path. Direction is {@link Direction#DESC} and NullHandling {@link NullHandling#NATIVE}. @param
src/main/java/org/springframework/data/domain/Sort.java:556
↓ 20 callersMethodgetAccessibleTypeReferenceName
(PersistentEntity<?, ?> entity)
src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java:1332
↓ 20 callersMethodgetGetter
Returns the getter method to access the property value if available. Might return {@literal null} in case there is no getter method with a return type
src/main/java/org/springframework/data/mapping/PersistentProperty.java:86
↓ 20 callersMethodgetMethodParameterFor
(String methodName, Class<?>... args)
src/test/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverUnitTests.java:266
↓ 20 callersMethodgetPageNumber
Returns the page to be returned. @return the page to be returned or throws {@link UnsupportedOperationException} if the object is {@link #isU
src/main/java/org/springframework/data/domain/Pageable.java:88
↓ 20 callersMethodof
Create an {@link Alias} given the {@code alias} object. @param alias must not be {@literal null}. @return the {@link Alias} for {@code alias}.
src/main/java/org/springframework/data/mapping/Alias.java:58
↓ 20 callersMethodof
Creates a new {@link PersistentEntities} for the given {@link MappingContext}s. @param contexts must not be {@literal null}. @return
src/main/java/org/springframework/data/mapping/context/PersistentEntities.java:73
↓ 20 callersMethodresolve
(MockServerHttpRequest request, MethodParameter parameter)
src/test/java/org/springframework/data/web/ReactiveSortHandlerMethodArgumentResolverUnitTests.java:185
↓ 19 callersMethodassertLimiting
(String methodName, Class<?> entityType, boolean limiting, Integer maxResults)
src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java:645
↓ 19 callersMethodgenerateName
Compare and potentially generate a new name for the given intended variable name. @param intendedVariableName must not be {@literal null}. @return th
src/main/java/org/springframework/data/repository/aot/generate/VariableNameFactory.java:36
↓ 19 callersMethodgetContent
Returns the page content as {@link List}. @return the page content as {@link List}.
src/main/java/org/springframework/data/domain/Slice.java:59
↓ 19 callersMethodgetDeclaringClass
(PersistentProperty<?> persistentProperty)
src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java:704
↓ 19 callersMethodgetMapValueType
Will return the type of the value in case the underlying type is a {@link java.util.Map}. @return
src/main/java/org/springframework/data/core/TypeInformation.java:210
↓ 19 callersMethodgetNormalizedValue
Returns the normalized value regarding the underlying {@link Metric}. @return the normalized value.
src/main/java/org/springframework/data/geo/Distance.java:124
↓ 19 callersMethodgetParameterOfMethod
(String name)
src/test/java/org/springframework/data/web/SortDefaultUnitTests.java:119
↓ 19 callersMethodgetTotalElements
Returns the total amount of elements. @return the total amount of elements
src/main/java/org/springframework/data/domain/Page.java:61
↓ 19 callersMethodisCollectionQuery
Returns whether the finder will actually return a collection of entities or a single one. @return
src/main/java/org/springframework/data/repository/query/QueryMethod.java:257
← previousnext →101–200 of 9,531, ranked by callers