Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/spring-projects/spring-data-commons
/ functions
Functions
9,531 in github.com/spring-projects/spring-data-commons
⨍
Functions
9,531
◇
Types & classes
2,574
↓ 10 callers
Method
getRepositoryFor
Returns the repository managing the given domain class. The given {@code domainClass} is unwrapped to the actual user class if necessary. @param doma
src/main/java/org/springframework/data/repository/support/Repositories.java:158
↓ 10 callers
Method
getResolver
()
src/test/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverUnitTests.java:309
↓ 10 callers
Method
getSize
Returns the size of the {@link Slice}. @return the size of the {@link Slice}.
src/main/java/org/springframework/data/domain/Slice.java:45
↓ 10 callers
Method
isImmutable
Returns whether the entity is considered immutable, i.e. clients shouldn't attempt to change instances via the {@link PersistentPropertyAccessor} obta
src/main/java/org/springframework/data/mapping/PersistentEntity.java:380
↓ 10 callers
Method
isInclusive
()
src/main/java/org/springframework/data/domain/Range.java:426
↓ 10 callers
Method
isMap
Returns whether the property is a {@link java.util.Map}. If this returns {@literal true} you can expect {@link #getComponentType()} as well as {@link
src/main/java/org/springframework/data/core/TypeInformation.java:203
↓ 10 callers
Method
isPaged
Returns whether the current {@link Pageable} contains pagination information. @return {@literal true} if the current {@link Pageable} contains pagina
src/main/java/org/springframework/data/domain/Pageable.java:68
↓ 10 callers
Method
lock
Acquires the lock. <p> If the lock is not available then the current thread becomes disabled for thread scheduling purposes and lies dormant until the
src/main/java/org/springframework/data/util/Lock.java:70
↓ 10 callers
Method
markCreated
Marks the given object as created. @param source
src/main/java/org/springframework/data/auditing/AuditingHandler.java:82
↓ 10 callers
Method
nested
Returns the {@code PropertyPath} for the path nested under the current property. @param path must not be {@literal null} or empty. @return will never
src/main/java/org/springframework/data/core/PropertyPath.java:205
↓ 10 callers
Method
none
Return an {@link Auditor} that is not present. @param <T> @return never {@literal null}.
src/main/java/org/springframework/data/auditing/Auditor.java:92
↓ 10 callers
Method
number
Add return statements for numeric types if the given {@code resultToReturn} points to a {@link Number}. Considers primitive and boxed {@code int} and
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:859
↓ 10 callers
Method
opt
Returns the value at {@code index}, or null if the array has no value at {@code index}. @param index the index to get the value from @return the valu
src/main/java/org/springframework/data/repository/aot/generate/JSONArray.java:309
↓ 10 callers
Method
opt
Returns the value mapped by {@code name}, or null if no such mapping exists. @param name the name of the property @return the value or {@literal null
src/main/java/org/springframework/data/repository/aot/generate/JSONObject.java:375
↓ 10 callers
Method
registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry, BeanNameGenerator importBeanN
src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java:189
↓ 10 callers
Method
remove
Removes and returns the value at {@code index}, or null if the array has no value at {@code index}. @param index the index of the value to remove @re
src/main/java/org/springframework/data/repository/aot/generate/JSONArray.java:322
↓ 10 callers
Method
serialize
@return serialize query metadata to a {@link Map} of key/value pairs using simple types (string, numbers).
src/main/java/org/springframework/data/repository/aot/generate/QueryMetadata.java:31
↓ 10 callers
Method
toList
Returns all the {@link ManagedTypes} in a {@link List}. @return these {@link ManagedTypes} in a {@link List}; never {@literal null}. @see java.util.L
src/main/java/org/springframework/data/domain/ManagedTypes.java:141
↓ 10 callers
Method
typeName
Obtain a {@link TypeName} for the underlying type of the given {@link ResolvableType}. Can render a class name, a type signature or a generic type var
src/main/java/org/springframework/data/javapoet/TypeNames.java:117
↓ 10 callers
Method
unlimited
@return a {@link Limit} instance that does not define {@link #max()} and answers {@link #isUnlimited()} with {@literal true}.
src/main/java/org/springframework/data/domain/Limit.java:48
↓ 10 callers
Method
unwrap
Unwraps the given source value in case it's one of the currently supported wrapper types detected at runtime. @param source can be {@literal null}. @
src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java:219
↓ 10 callers
Method
whenBoxed
Add a return statement if the return type matches the given boxed wrapper type. @param primitiveOrWrapper the primitive or wrapper type. @param forma
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:963
↓ 10 callers
Method
withMethodLookup
Create a new {@link RepositoryComposition} retaining current configuration and set {@code methodLookup}. @param methodLookup must not be {@literal nu
src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java:241
↓ 9 callers
Method
addAll
(Map<String, Function> newFunctions)
src/main/java/org/springframework/data/spel/Functions.java:46
↓ 9 callers
Method
autoboxType
Returns the appropriate autoboxing type.
src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java:39
↓ 9 callers
Method
computeInvocationResult
(RepositoryMethodInvocationCaptor captured)
src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java:189
↓ 9 callers
Method
excluding
Exclude properties from binding. Exclusion of all properties of a nested type can be done by exclusion on a higher level. E.g. {@code address} would e
src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java:128
↓ 9 callers
Method
getActualType
Returns the actual type of the property. This will be the original property type if no generics were used, the component type for collection-like type
src/main/java/org/springframework/data/mapping/PersistentProperty.java:324
↓ 9 callers
Method
getBean
(Class<T> type)
src/test/java/org/springframework/data/repository/cdi/RepositoryFragmentsIntegrationTests.java:92
↓ 9 callers
Method
getConverter
Get the {@link PropertyValueConverter} applicable for the given {@link PersistentProperty}. @param property must not be {@literal null}. @param <DV>
src/main/java/org/springframework/data/convert/PropertyValueConverterFactory.java:53
↓ 9 callers
Method
getIdType
Returns the type of the id of the entity. @return
src/main/java/org/springframework/data/repository/core/EntityInformation.java:75
↓ 9 callers
Method
getIdTypeInformation
Returns the {@link TypeInformation} of the id type of the repository. @return the {@link TypeInformation} class of the identifier of the entity manag
src/main/java/org/springframework/data/repository/core/RepositoryMetadata.java:60
↓ 9 callers
Method
getImplementationBeanName
Returns the custom implementation bean name to be used. @return @since 3.0
src/main/java/org/springframework/data/repository/config/RepositoryConfiguration.java:103
↓ 9 callers
Method
getInverse
()
src/main/java/org/springframework/data/mapping/Association.java:43
↓ 9 callers
Method
getMostSpecificMethod
Looks up the most specific method for the given method and type and returns an accessible version of discovered {@link Method} if found. @param metho
src/main/java/org/springframework/data/repository/core/support/DefaultCrudMethods.java:180
↓ 9 callers
Method
getPageable
()
src/main/java/org/springframework/data/repository/query/ParametersParameterAccessor.java:147
↓ 9 callers
Method
getProperty
(Object bean, String propertyName)
src/test/java/org/springframework/data/mapping/model/PersistentPropertyAccessorTests.java:202
↓ 9 callers
Method
getRepositoryBeanDefinition
(Class<?> repositoryInterface)
src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java:81
↓ 9 callers
Method
getRequiredMethod
Returns the method with the given name of the given class and parameter types. Prefers regular methods over {@link Method#isBridge() bridge} and {@lin
src/main/java/org/springframework/data/util/ReflectionUtils.java:327
↓ 9 callers
Method
getSource
Returns the source array of the vector. The source array is not copied and should not be modified to avoid mutability issues. This method should be us
src/main/java/org/springframework/data/domain/Vector.java:141
↓ 9 callers
Method
getState
()
src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvocationListener.java:100
↓ 9 callers
Method
getStringMatcherForPath
Get the {@link ExampleMatcher.StringMatcher} for a given path or return the default one if none defined. @param path @return never {@literal null}.
src/main/java/org/springframework/data/support/ExampleMatcherAccessor.java:85
↓ 9 callers
Method
getType
()
src/main/java/org/springframework/data/util/TypeUtils.java:186
↓ 9 callers
Method
getValueType
(String expressionString)
src/test/java/org/springframework/data/expression/ValueEvaluationUnitTests.java:158
↓ 9 callers
Method
invoke
Create a {@link InvocationBuilder} for building method invocation code. <p> The given {@code methodCall} may contain format specifiers as defined in J
src/main/java/org/springframework/data/javapoet/LordOfTheStrings.java:112
↓ 9 callers
Method
invokeSave
Invokes the method equivalent to {@link org.springframework.data.repository.CrudRepository#save(Object)} on the repository. @param object @return the
src/main/java/org/springframework/data/repository/support/RepositoryInvoker.java:43
↓ 9 callers
Method
isClosed
Returns whether supplying values for the properties returned via {@link #getInputProperties()} is sufficient to create a working proxy instance. This
src/main/java/org/springframework/data/projection/ProjectionInformation.java:63
↓ 9 callers
Method
isEntity
Returns whether the type of the {@link PersistentProperty} is actually to be regarded as {@link PersistentEntity} in turn. @return {@literal true} a
src/main/java/org/springframework/data/mapping/PersistentProperty.java:207
↓ 9 callers
Method
isMultiValueType
Returns {@literal true} if {@code type} is a reactive wrapper type supporting multiple values ({@code 0..N} elements). @param type must not be {@lite
src/main/java/org/springframework/data/core/ReactiveWrappers.java:194
↓ 9 callers
Method
isSimpleType
Returns whether the given type is considered a simple one. @param type must not be {@literal null}. @return {@literal true} if the given type is cons
src/main/java/org/springframework/data/mapping/model/SimpleTypeHolder.java:141
↓ 9 callers
Method
isVoid
Check whether the given {@code type} represents a void type such as {@code void}, {@link Void} or Kotlin {@code Unit}. @param type must not be {@lite
src/main/java/org/springframework/data/util/ReflectionUtils.java:110
↓ 9 callers
Method
mockInvocation
(MethodInvocation invocation, Method method, Object parameterAndReturnValue)
src/test/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessorUnitTests.java:354
↓ 9 callers
Method
needsCustomConstruction
Return whether the returned type will require custom construction.
src/main/java/org/springframework/data/repository/query/ReturnedType.java:157
↓ 9 callers
Method
next
Returns the next element of the given {@link Iterator} or {@link Optional#empty()} in case there is no next element. @param iterator must not be {@li
src/main/java/org/springframework/data/util/Optionals.java:143
↓ 9 callers
Method
notifyListeners
The repository method invocation to be handled after calling it. @param method @param args @param result
src/main/java/org/springframework/data/repository/core/support/RepositoryInvocationMulticaster.java:41
↓ 9 callers
Method
parse
Parses the given string representation of a version into a {@link Version} object. @param version must not be {@literal null} or empty. @return
src/main/java/org/springframework/data/util/Version.java:68
↓ 9 callers
Method
parts
(String... part)
src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java:684
↓ 9 callers
Method
register
(ResolvableType type, AotContext aotContext, GenerationContext generationContext)
src/main/java/org/springframework/data/aot/ManagedTypesRegistrationAotContribution.java:122
↓ 9 callers
Method
resolveArgumentValue
(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)
src/main/java/org/springframework/data/web/ReactiveSortHandlerMethodArgumentResolver.java:45
↓ 9 callers
Method
setCreatedDate
Sets the creation date of the entity. @param creationDate the creation date to set
src/main/java/org/springframework/data/domain/Auditable.java:59
↓ 9 callers
Method
simple
Obtain a simple {@link PropertyValueConverterFactory} capable of instantiating {@link PropertyValueConverter} implementations via their default {@link
src/main/java/org/springframework/data/convert/PropertyValueConverterFactory.java:85
↓ 9 callers
Method
unbounded
Creates an unbounded {@link Bound}.
src/main/java/org/springframework/data/domain/Range.java:298
↓ 9 callers
Method
unwrap
(Object source)
src/test/java/org/springframework/data/core/CustomCollectionsUnitTests.java:232
↓ 9 callers
Method
unwrap
Unwraps the given source value in case it's one of the currently supported wrapper types detected at runtime. @param source can be {@literal null}. @
src/main/java/org/springframework/data/core/NullableWrapperConverters.java:184
↓ 8 callers
Method
addEntityCallback
(EntityCallback<?> callback)
src/main/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacks.java:95
↓ 8 callers
Method
addPersistentProperty
Adds a {@link PersistentProperty} to the entity. @param property
src/main/java/org/springframework/data/mapping/model/MutablePersistentEntity.java:40
↓ 8 callers
Method
afterInvocation
Handle the invocation event. This method is called after the execution has finished. @param repositoryMethodInvocation the invocation to respond to.
src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvocationListener.java:43
↓ 8 callers
Method
afterPropertiesSet
()
src/main/java/org/springframework/data/auditing/AuditingHandler.java:107
↓ 8 callers
Method
append
Appends the given {@link PersistentProperty} to the current {@link PersistentPropertyPath}. @param property must not be {@literal null}. @return a ne
src/main/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPath.java:74
↓ 8 callers
Method
areValidFor
Returns whether the parameter types are valid for the given {@link Method}. That means, a parameter value list with the given type arrangement is a va
src/main/java/org/springframework/data/util/ParameterTypes.java:107
↓ 8 callers
Method
ascending
Returns a new {@link Sort} with the current setup but ascending order direction. @return a new {@link Sort} with the current setup but ascending orde
src/main/java/org/springframework/data/domain/Sort.java:218
↓ 8 callers
Method
assertFindAllMethodOn
(Class<?> type, Method method)
src/test/java/org/springframework/data/repository/core/support/DefaultCrudMethodsUnitTests.java:152
↓ 8 callers
Method
assertNotEqualsAndHashcode
Asserts that both objects are not equal to each other and differ in hash code, too. @param first @param second
src/test/java/org/springframework/data/domain/UnitTestUtils.java:48
↓ 8 callers
Method
assertSupportedAndResult
(MethodParameter parameter, Pageable pageable)
src/test/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolverUnitTests.java:253
↓ 8 callers
Method
capturedValue
()
src/test/java/org/springframework/data/mapping/callback/CapturingEntityCallback.java:50
↓ 8 callers
Method
contributesJdkProxy
(Class<?>... proxyInterfaces)
src/test/java/org/springframework/data/aot/CodeContributionAssert.java:118
↓ 8 callers
Method
create
(Object bean, List<String> propertyNames, Class<?> expectedConstructorType)
src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryTests.java:77
↓ 8 callers
Method
createAliasFor
Returns the alias to be used for the given {@link TypeInformation}. @param type must not be {@literal null}. @return
src/main/java/org/springframework/data/convert/TypeInformationMapper.java:45
↓ 8 callers
Method
createInstance
(BasicPersistentEntity<?, SamplePersistentProperty> entity, Function<Parameter<?, ?>, Object> parameterProv
src/test/java/org/springframework/data/mapping/model/KotlinPropertyAccessorFactoryTests.java:300
↓ 8 callers
Method
createNonFailingTransactionManager
(String name)
src/test/java/org/springframework/data/transaction/ChainedTransactionManagerTests.java:180
↓ 8 callers
Method
empty
Create empty {@link RepositoryFragments}. @return empty {@link RepositoryFragments}.
src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java:403
↓ 8 callers
Method
exactlyMatchParametersOf
Returns whether the current parameter types match the given {@link Method}'s parameters exactly, i.e. they're equal, not only assignable. @param meth
src/main/java/org/springframework/data/util/ParameterTypes.java:178
↓ 8 callers
Method
findById
(Object id)
src/test/java/org/springframework/data/repository/core/support/RepositoryFactorySupportUnitTests.java:605
↓ 8 callers
Method
forRepositoryTypes
Repository type-aware method lookup composed of {@link #direct()} and {@link RepositoryAwareMethodLookup}. <p> Repository-aware lookups resolve generi
src/main/java/org/springframework/data/repository/core/support/MethodLookups.java:79
↓ 8 callers
Method
from
Create a {@link RangeBuilder} given the lower {@link Bound}. @param lower must not be {@literal null}. @return a range builder to continue creating a
src/main/java/org/springframework/data/domain/Range.java:153
↓ 8 callers
Method
fromReturnTypeOf
Returns a {@link TypeInformation} for the given {@link Method}. @param method must not be {@literal null}. @return will never be {@literal null}. @si
src/main/java/org/springframework/data/core/TypeInformation.java:88
↓ 8 callers
Method
getBeanClass
()
src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java:254
↓ 8 callers
Method
getConstructor
Returns the underlying {@link Constructor}. @return
src/main/java/org/springframework/data/mapping/PreferredConstructor.java:63
↓ 8 callers
Method
getCurrentAuditor
Returns the current auditor of the application. @return the current auditor.
src/main/java/org/springframework/data/domain/AuditorAware.java:33
↓ 8 callers
Method
getError
()
src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvocationListener.java:102
↓ 8 callers
Method
getEvaluationContextLater
(@Nullable Object rootObject)
src/main/java/org/springframework/data/spel/ReactiveExtensionAwareEvaluationContextProvider.java:85
↓ 8 callers
Method
getFirstName
()
src/test/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactoryUnitTests.java:287
↓ 8 callers
Method
getInvokerFor
Returns the {@link RepositoryInvoker} for a repository managing the given domain type. @param domainType must not be {@literal null}. @return
src/main/java/org/springframework/data/repository/support/RepositoryInvokerFactory.java:33
↓ 8 callers
Method
getLeafProperty
Returns the last property in the {@link PersistentPropertyPath}. So for {@code foo.bar} it will return the {@link PersistentProperty} for {@code bar}.
src/main/java/org/springframework/data/mapping/PersistentPropertyPath.java:72
↓ 8 callers
Method
getMetadata
(Object sample)
src/test/java/org/springframework/data/history/AnnotationRevisionMetadataUnitTests.java:158
↓ 8 callers
Method
getMethodParameterFor
(String methodName, Class<?>... args)
src/test/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolverUnitTests.java:135
↓ 8 callers
Method
getParameter
Returns the parameter with the given index. @param index @return
src/main/java/org/springframework/data/repository/query/Parameters.java:388
↓ 8 callers
Method
getParameterNameToUse
Returns the name of the request parameter to find the {@link Pageable} information in. Inspects the given {@link MethodParameter} for {@link Qualifier
src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java:230
↓ 8 callers
Method
getProjectionInformation
Returns the {@link ProjectionInformation} for the given projection type. @param projectionType must not be {@literal null}. @return @since 1.12
src/main/java/org/springframework/data/projection/ProjectionFactory.java:65
↓ 8 callers
Method
getRepositoryFactoryBeanClassName
Returns the name of the repository factory bean class to be used. @return
src/main/java/org/springframework/data/repository/config/RepositoryConfiguration.java:95
← previous
next →
401–500 of 9,531, ranked by callers