use of org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore in project ambrose by twitter.
the class CascadingJob method setJobStats.
@JsonIgnore
public void setJobStats(HadoopStepStats stats) {
Counters counters = new Counters();
for (String groupName : stats.getCounterGroups()) {
for (String counterName : stats.getCountersFor(groupName)) {
Long counterValue = stats.getCounterValue(groupName, counterName);
counters.findCounter(groupName, counterName).setValue(counterValue);
}
}
setCounterGroupMap(CounterGroup.counterGroupsByName(counters));
}
use of org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore in project textdb by TextDB.
the class Dictionary method setPatternList.
@JsonIgnore
public void setPatternList() {
this.patternList = new ArrayList<>();
for (int i = 0; i < dictionaryEntries.size(); i++) {
Pattern pattern = Pattern.compile(dictionaryEntries.get(i), Pattern.CASE_INSENSITIVE);
patternList.add(pattern);
}
}
use of org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore in project cas by apereo.
the class CasEvent method getGeoLocation.
/**
* Gets geo location.
*
* @return the geo location
*/
@JsonIgnore
public GeoLocationRequest getGeoLocation() {
val request = new GeoLocationRequest();
request.setAccuracy(get(FIELD_GEO_ACCURACY));
request.setTimestamp(get(FIELD_GEO_TIMESTAMP));
request.setLongitude(get(FIELD_GEO_LONGITUDE));
request.setLatitude(get(FIELD_GEO_LATITUDE));
return request;
}
use of org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore in project cas by apereo.
the class ChainingRegisteredServiceAccessStrategy method getDelegatedAuthenticationPolicy.
@Override
@JsonIgnore
public RegisteredServiceDelegatedAuthenticationPolicy getDelegatedAuthenticationPolicy() {
val policy = new ChainingRegisteredServiceDelegatedAuthenticationPolicy();
policy.setOperator(this.operator);
strategies.stream().map(RegisteredServiceAccessStrategy::getDelegatedAuthenticationPolicy).forEach(policy::addStrategy);
return policy;
}
use of org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore in project cas by apereo.
the class RegisteredServicePublicKeyImpl method initializePublicKeyFactoryBean.
@JsonIgnore
private PublicKeyFactoryBean initializePublicKeyFactoryBean() throws Exception {
val resolved = SpringExpressionLanguageValueResolver.getInstance().resolve(this.location);
val resource = ResourceUtils.getResourceFrom(resolved);
val factory = new PublicKeyFactoryBean(resource, this.algorithm);
factory.setSingleton(false);
return factory;
}
Aggregations