Annotation Type SProcCall

    • Element Detail

      • name

        String name
        Default:
        ""
      • shardStrategy

        Class<?> shardStrategy
        Default:
        java.lang.Void.class
      • runOnAllShards

        boolean runOnAllShards
        whether the stored procedure should be called on all shards --- results are concatenated together.
        Returns:
        Default:
        false
      • searchShards

        boolean searchShards
        whether the stored procedure should be called on all shards --- return the first result found.
        Returns:
        Default:
        false
      • parallel

        boolean parallel
        run sproc on multiple shards in parallel?
        Returns:
        Default:
        false
      • readOnly

        boolean readOnly
        flag this stored procedure call as read only: read only sprocs may run in cases were writing calls would not be allowed (maintenance, migration, ..)
        Returns:
        Default:
        true
      • resultMapper

        Class<?> resultMapper
        Default:
        java.lang.Void.class
      • timeoutInMilliSeconds

        long timeoutInMilliSeconds
        Default:
        0L
      • adivsoryLockId

        long adivsoryLockId
        Default:
        0L
      • adivsoryLockName

        String adivsoryLockName
        Default:
        "NO_LOCK"
      • validate

        SProcCall.Validate validate
        Default:
        org.zalando.sprocwrapper.SProcCall.Validate.AS_DEFINED_IN_SERVICE