Package com.linkedin.restli.common

Examples of com.linkedin.restli.common.ComplexKeySpec


  @SuppressWarnings({"unchecked", "rawtypes"}) // this is dynamic, don't have concrete classes for the TypeSpec
  public ComplexKeySpec<?, ?> toComplexKey(DataSchema keyDataSchema, DataSchema paramsDataSchema)
  {
    TypeSpec<? extends RecordTemplate> complexKeyKey = toRecordTemplateType(keyDataSchema);
    TypeSpec<? extends RecordTemplate> complexKeyParams = toRecordTemplateType(paramsDataSchema);
    return new ComplexKeySpec(complexKeyKey, complexKeyParams);
  }
View Full Code Here

TOP

Related Classes of com.linkedin.restli.common.ComplexKeySpec

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.