Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.data.redis.core.script
Interface RedisScript<T>

Type Parameters:
  `T` - The script result type. Should be one of Long, Boolean, List, or deserialized value type. Can be null if the script returns a throw-away status (i.e "OK")

All Known Implementing Classes:
  DefaultRedisScript

    public interface RedisScript<T>

A script to be executed using the Redis scripting support available as of version 2.6

Method Summary
`Class<T>` | `getResultType()`
`String` | `getScriptAsString()`
`String` | `getSha1()`

Method Detail

### getSha1

    String getSha1()

  Returns:
    The SHA1 of the script, used for executing Redis evalsha command

### getResultType

    Class<T> getResultType()

  Returns:
    The script result type. Should be one of Long, Boolean, List, or deserialized value type. Can be null if the script returns a throw-away status (i.e "OK")

### getScriptAsString

    String getScriptAsString()

  Returns:
    The script contents

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD