CoderProperties.coderConsistentWithEqualsInContext
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.beam.sdk.testing.CoderProperties.coderConsistentWithEqualsInContext(Showing top 2 results out of 315)

origin: apache/beam

/**
 * Verifies that for the given {@code Coder<T>} and values of
 * type {@code T}, the values are equal if and only if the
 * encoded bytes are equal.
 */
public static <T> void coderConsistentWithEquals(
  Coder<T> coder, T value1, T value2)
  throws Exception {
 for (Coder.Context context : ALL_CONTEXTS) {
  CoderProperties.coderConsistentWithEqualsInContext(coder, context, value1, value2);
 }
}
origin: org.apache.beam/beam-sdks-java-core

/**
 * Verifies that for the given {@code Coder<T>} and values of
 * type {@code T}, the values are equal if and only if the
 * encoded bytes are equal.
 */
public static <T> void coderConsistentWithEquals(
  Coder<T> coder, T value1, T value2)
  throws Exception {
 for (Coder.Context context : ALL_CONTEXTS) {
  CoderProperties.coderConsistentWithEqualsInContext(coder, context, value1, value2);
 }
}
org.apache.beam.sdk.testingCoderPropertiescoderConsistentWithEqualsInContext

Javadoc

Verifies that for the given Coder, Coder.Context, and values of type T, the values are equal if and only if the encoded bytes are equal, in any Coder.Context.

Popular methods of CoderProperties

  • coderDecodeEncodeEqual
    Verifies that for the given Coder, and value of type T, encoding followed by decoding yields an equa
  • coderSerializable
    Verifies that the given Coder can be correctly serialized and deserialized.
  • coderEncodesBase64
  • coderDecodeEncodeContentsInSameOrder
    Verifies that for the given Coder>, and value of type Collection, encoding followed by decoding yiel
  • structuralValueDecodeEncodeEqual
    Verifies that for the given Coder and value of type T, the structural value is equal to the structur
  • coderConsistentWithEquals
    Verifies that for the given Coder and values of type T, the values are equal if and only if the enco
  • coderDecodeEncodeContentsEqual
    Verifies that for the given Coder>, and value of type Collection, encoding followed by decoding yiel
  • coderDecodeEncodeEqualInContext
    Verifies that for the given Coder, Coder.Context, and value of type T, encoding followed by decoding
  • coderDecodesBase64ContentsEqual
  • coderDeterministic
    Verifies that for the given Coder, and values of type T, if the values are equal then the encoded by
  • decode
  • encode
  • decode,
  • encode,
  • coderDecodeEncodeContentsEqualInContext,
  • coderDecodeEncodeContentsInSameOrderInContext,
  • coderDecodesBase64,
  • coderDeterministicInContext,
  • decodeEncode,
  • structuralValueConsistentWithEquals,
  • structuralValueConsistentWithEqualsInContext

Popular classes and methods

  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • findViewById (Activity)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • DateFormat (java.text)
    DateFormat is an abstract class for date/time formatting subclasses which formats and parses dates
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • ImageIO (javax.imageio)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • IsNull (org.hamcrest.core)
    Is the value null?

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)