本文整理汇总了Java中org.socialsignin.spring.data.dynamodb.repository.EnableScan类的典型用法代码示例。如果您正苦于以下问题:Java EnableScan类的具体用法?Java EnableScan怎么用?Java EnableScan使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EnableScan类属于org.socialsignin.spring.data.dynamodb.repository包,在下文中一共展示了EnableScan类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DynamoDBQueryMethod
import org.socialsignin.spring.data.dynamodb.repository.EnableScan; //导入依赖的package包/类
public DynamoDBQueryMethod(Method method, RepositoryMetadata metadata) {
super(method, metadata);
this.method = method;
this.scanEnabledForRepository = metadata.getRepositoryInterface().isAnnotationPresent(EnableScan.class);
this.scanCountEnabledForRepository = metadata.getRepositoryInterface().isAnnotationPresent(EnableScanCount.class);
}
示例2: findByMessage
import org.socialsignin.spring.data.dynamodb.repository.EnableScan; //导入依赖的package包/类
@EnableScan
@EnableScanCount
public Page<Reply> findByMessage(@Param("message") String message,Pageable pageable);
示例3: findSliceByMessage
import org.socialsignin.spring.data.dynamodb.repository.EnableScan; //导入依赖的package包/类
@EnableScan
public Slice<Reply> findSliceByMessage(@Param("message") String message,Pageable pageable);
示例4: findAll
import org.socialsignin.spring.data.dynamodb.repository.EnableScan; //导入依赖的package包/类
@EnableScan
@EnableScanCount
public Page<Reply> findAll(Pageable pageable);
示例5: findByReplyDateTime
import org.socialsignin.spring.data.dynamodb.repository.EnableScan; //导入依赖的package包/类
@EnableScan
public Page<Reply> findByReplyDateTime(@Param("replyDateTime") String replyDateTime,Pageable pageable);
示例6: isScanEnabled
import org.socialsignin.spring.data.dynamodb.repository.EnableScan; //导入依赖的package包/类
public boolean isScanEnabled() {
return scanEnabledForRepository || method.isAnnotationPresent(EnableScan.class);
}