本文整理汇总了Java中com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore类的典型用法代码示例。如果您正苦于以下问题:Java DynamoDBIgnore类的具体用法?Java DynamoDBIgnore怎么用?Java DynamoDBIgnore使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DynamoDBIgnore类属于com.amazonaws.services.dynamodbv2.datamodeling包,在下文中一共展示了DynamoDBIgnore类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: thumbsup
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@JsonIgnore
@DynamoDBIgnore
public Focus thumbsup() {
thumbsup += 1;
return this;
}
开发者ID:coding4people,项目名称:mosquito-report-api,代码行数:8,代码来源:Focus.java
示例2: getMaxDomains
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public int getMaxDomains() {
if (getAccountType() != null && getAccountType().equals(ACCOUNT_DONATE)) {
return Domain.MAX_DOMAINS_DONATE;
} else if (getAccountType() != null && getAccountType().equals(ACCOUNT_FRIENDS_OF_DUCK)) {
return Domain.MAX_DOMAINS_FRIENDS_OF_DUCK;
} else if (getAccountType() != null && getAccountType().equals(ACCOUNT_SUPER_DUCK)) {
return Domain.MAX_DOMAINS_SUPER_DUCK;
} else if (getAccountType() != null && getAccountType().equals(ACCOUNT_NAUGHTY_DUCK)) {
return Domain.MAX_DOMAINS_NAUGHTY_DUCK;
} else {
return Domain.MAX_DOMAINS_FREE;
}
}
开发者ID:tahamsaglam,项目名称:duckdns,代码行数:15,代码来源:Account.java
示例3: createConfiguration
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@Override
protected Configuration createConfiguration(RoundEnvironment roundEnv) {
Class<? extends Annotation> entities = QueryEntities.class;
Class<? extends Annotation> entity = DynamoDBTable.class;
Class<? extends Annotation> skip = DynamoDBIgnore.class;
DefaultConfiguration conf = new DefaultConfiguration(roundEnv, processingEnv.getOptions(), Collections.<String>emptySet(),
entities, entity, null, null, null, skip);
return conf;
}
开发者ID:querydsl,项目名称:querydsl-contrib,代码行数:10,代码来源:DynamoAnnotationProcessor.java
示例4: compareTo
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public int compareTo(HNItemItem o) // this makes more recent comments come first
{
long othertime = ((HNItemItem)o).getTime();
if(othertime < getTime()) // this is to prevent equals
return 1;
else if(othertime > getTime())
return -1;
else
return 0;
}
开发者ID:fivedogit,项目名称:hn_firebase_listener,代码行数:12,代码来源:HNItemItem.java
示例5: compareTo
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public int compareTo(HNUserItem o) // this makes more recent comments come first
{
String otherscreenname = ((HNUserItem)o).getId();
int x = otherscreenname.compareTo(getId());
if(x >= 0) // this is to prevent equals
return 1;
else
return -1;
}
开发者ID:fivedogit,项目名称:hn_firebase_listener,代码行数:11,代码来源:HNUserItem.java
示例6: getSum
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public double getSum() {
return super.getSum();
}
开发者ID:satr,项目名称:aws-amazon-shopping-bot-lambda-func,代码行数:5,代码来源:OrderItem.java
示例7: isEmpty
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public boolean isEmpty() {
return super.isEmpty();
}
开发者ID:satr,项目名称:aws-amazon-shopping-bot-lambda-func,代码行数:5,代码来源:OrderItem.java
示例8: getSum
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public double getSum() {
return amount * price;
}
开发者ID:satr,项目名称:aws-amazon-shopping-bot-lambda-func,代码行数:5,代码来源:OrderItemInfo.java
示例9: isEmpty
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public boolean isEmpty() {
return getAmount() <= 0.0 || getPrice() <= 0.0;
}
开发者ID:satr,项目名称:aws-amazon-shopping-bot-lambda-func,代码行数:5,代码来源:OrderItemInfo.java
示例10: getSearchId
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@Override
@JsonIgnore
@DynamoDBIgnore
public String getSearchId() {
return guid;
}
开发者ID:coding4people,项目名称:mosquito-report-api,代码行数:7,代码来源:Focus.java
示例11: compareTo
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
@Override
public int compareTo(Domain compareDomain){
return (this.getDomainName()).compareTo(compareDomain.getDomainName());
}
开发者ID:tahamsaglam,项目名称:duckdns,代码行数:6,代码来源:Domain.java
示例12: getSourceFileName
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public String getSourceFileName() {
return options.split(", ")[0];
}
开发者ID:SungardAS,项目名称:enhanced-snapshots,代码行数:5,代码来源:TaskEntry.java
示例13: getAvailabilityZone
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public String getAvailabilityZone() {
return options.split(", ")[1];
}
开发者ID:SungardAS,项目名称:enhanced-snapshots,代码行数:5,代码来源:TaskEntry.java
示例14: getHNItemsByd
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public HashSet<HNItemItem> getHNItemsByd(int minutes_ago, DynamoDBMapper mapper, DynamoDBMapperConfig dynamo_config) {
// set up an expression to query screename#id
DynamoDBQueryExpression<HNItemItem> queryExpression = new DynamoDBQueryExpression<HNItemItem>()
.withIndexName("by-time-index")
.withScanIndexForward(true)
.withConsistentRead(false);
// set the user_id part
HNItemItem key = new HNItemItem();
key.setBy(getId());
queryExpression.setHashKeyValues(key);
// set the msfe range part
if(minutes_ago > 0)
{
//System.out.println("Getting comment children with a valid cutoff time.");
Calendar cal = Calendar.getInstance();
cal.add(Calendar.MINUTE, (minutes_ago * -1));
long time_cutoff = cal.getTimeInMillis() / 1000;
// set the msfe range part
Map<String, Condition> keyConditions = new HashMap<String, Condition>();
keyConditions.put("time",new Condition()
.withComparisonOperator(ComparisonOperator.GT)
.withAttributeValueList(new AttributeValue().withN(new Long(time_cutoff).toString())));
queryExpression.setRangeKeyConditions(keyConditions);
}
// execute
List<HNItemItem> notificationitems = mapper.query(HNItemItem.class, queryExpression, dynamo_config);
if(notificationitems != null && notificationitems.size() > 0)
{
HashSet<HNItemItem> returnset = new HashSet<HNItemItem>();
for (HNItemItem notificationitem : notificationitems) {
returnset.add(notificationitem);
}
return returnset;
}
else
{
return null;
}
}
开发者ID:fivedogit,项目名称:hn_firebase_listener,代码行数:44,代码来源:HNUserItem.java
示例15: getIgnored
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public String getIgnored() {
return ignored;
}
开发者ID:awslabs,项目名称:aws-dynamodb-encryption-java,代码行数:5,代码来源:NumberAttributeTestClass.java
示例16: isWritable
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@Override
public boolean isWritable() {
return !isAnnotationPresent(DynamoDBIgnore.class);
}
开发者ID:michaellavelle,项目名称:spring-data-dynamodb,代码行数:5,代码来源:DynamoDBPersistentPropertyImpl.java
示例17: isTransient
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@Override
public boolean isTransient() {
return isAnnotationPresent(Transient.class) || super.isTransient() || isAnnotationPresent(DynamoDBIgnore.class);
}
开发者ID:michaellavelle,项目名称:spring-data-dynamodb,代码行数:5,代码来源:DynamoDBPersistentPropertyImpl.java
示例18: getIgnoredProp
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public String getIgnoredProp() {
return ignoredProp;
}
开发者ID:michaellavelle,项目名称:spring-data-dynamodb,代码行数:5,代码来源:DynamoDBPersistentPropertyImplUnitTests.java
示例19: getSomeProp
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
@DynamoDBIgnore
public String getSomeProp() { return someProp;}
开发者ID:wildfly-extras,项目名称:wildfly-camel,代码行数:3,代码来源:CatalogItem.java
示例20: getCpcProcessed
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore; //导入依赖的package包/类
/**
* Whether the file was processed by the CPC+ team
*
* Ignored when writing to DynamoDB because {@code CpcProcessed_CreateDate} holds the pertinent information.
*
* @return Whether the file was processed.
*/
@DynamoDBIgnore
public Boolean getCpcProcessed() {
return cpcProcessed;
}
开发者ID:CMSgov,项目名称:qpp-conversion-tool,代码行数:12,代码来源:Metadata.java
注:本文中的com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBIgnore类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论